Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001169/0.001169, allocations: 80.34 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009769/0.0009769, allocations: 160.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8964/0.8964, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.412e-05/1.548e-05, allocations: 3.266 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002131/0.002146, allocations: 2.023 MB / 326.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003247/0.002471, allocations: 159.4 kB / 326.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.222e-05/0.002553, allocations: 7.938 kB / 326.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.002666, allocations: 23.73 kB / 326.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.895e-05/0.002735, allocations: 55.5 kB / 326.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001353/0.00287, allocations: 43.94 kB / 326.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.00303, allocations: 187.1 kB / 327 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.003152, allocations: 42.47 kB / 327 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.35e-05/0.003236, allocations: 103.7 kB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.966e-05/0.003315, allocations: 55.8 kB / 327.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.003342, allocations: 16 kB / 327.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.091e-05/0.003363, allocations: 12 kB / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.438e-05/0.003387, allocations: 27.91 kB / 327.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/0.00343, allocations: 63.84 kB / 327.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.003598, allocations: 183.3 kB / 327.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.0036, allocations: 0 / 327.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.003602, allocations: 0 / 327.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.003606, allocations: 0 / 327.5 MB, free: 12.91 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0004157/0.004022, allocations: 389.4 kB / 327.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.00406, allocations: 11.98 kB / 327.9 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.004098, allocations: 54.73 kB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.004129, allocations: 20.8 kB / 328 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.004309, allocations: 157.5 kB / 328.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.004327, allocations: 16.31 kB / 328.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.004355, allocations: 24.33 kB / 328.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.004554, allocations: 174.5 kB / 328.3 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.004567, allocations: 4.188 kB / 328.3 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.004581, allocations: 8.375 kB / 328.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.004587, allocations: 7.938 kB / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.004706, allocations: 95.88 kB / 328.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007864/0.005493, allocations: 0.8884 MB / 329.3 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.005593, allocations: 99.75 kB / 329.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.999e-05/0.005633, allocations: 42.75 kB / 329.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.914e-06/0.005641, allocations: 0 / 329.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.005659, allocations: 38.5 kB / 329.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 8.42e-07/0.00566, allocations: 0 / 329.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002062/0.005866, allocations: 133.9 kB / 329.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.005907, allocations: 110.8 kB / 329.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.006033, allocations: 211.8 kB / 329.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.006045, allocations: 29.7 kB / 330 MB, free: 10.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/0.006108, allocations: 144.1 kB / 330.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.006133, allocations: 47.53 kB / 330.2 MB, free: 9.984 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.006177, allocations: 49.88 kB / 330.2 MB, free: 9.926 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.267e-05/0.006259, allocations: 330.8 kB / 330.5 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.739e-05/0.006307, allocations: 48.38 kB / 330.6 MB, free: 9.547 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.688e-05/0.006394, allocations: 138.7 kB / 330.7 MB, free: 9.363 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.006537, allocations: 201.6 kB / 330.9 MB, free: 9.117 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.00654, allocations: 3.938 kB / 330.9 MB, free: 9.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001893/0.006729, allocations: 217.2 kB / 331.1 MB, free: 8.895 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.006741, allocations: 4 kB / 331.1 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.006747, allocations: 8 kB / 331.1 MB, free: 8.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.00676, allocations: 4 kB / 331.1 MB, free: 8.879 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.973e-05/0.00685, allocations: 52.33 kB / 331.2 MB, free: 8.828 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.006857, allocations: 11.98 kB / 331.2 MB, free: 8.816 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.563e-05/0.006922, allocations: 27.78 kB / 331.2 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.006932, allocations: 12 kB / 331.2 MB, free: 8.777 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.09e-05/0.007003, allocations: 137.7 kB / 331.4 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.007038, allocations: 15.91 kB / 331.4 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.007068, allocations: 25.02 kB / 331.4 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.00707, allocations: 0 / 331.4 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.007075, allocations: 0 / 331.4 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.007078, allocations: 4 kB / 331.4 MB, free: 8.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.007321, allocations: 204.5 kB / 331.6 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.007322, allocations: 4 kB / 331.6 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.877e-05/0.007401, allocations: 31.98 kB / 331.7 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.007402, allocations: 0 / 331.7 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.007411, allocations: 4 kB / 331.7 MB, free: 8.309 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.007413, allocations: 3.984 kB / 331.7 MB, free: 8.305 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.007414, allocations: 0 / 331.7 MB, free: 8.305 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.007616, allocations: 401.6 kB / 332.1 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.007634, allocations: 15.89 kB / 332.1 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.007651, allocations: 8.062 kB / 332.1 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.722e-05/0.007728, allocations: 144 / 332.1 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/0.007745, allocations: 11.97 kB / 332.1 MB, free: 7.859 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.007749, allocations: 12 kB / 332.1 MB, free: 7.848 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.24e-05/0.007822, allocations: 149.5 kB / 332.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007822, allocations: 0 / 332.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002388/0.008061, allocations: 43.88 kB / 332.3 MB, free: 7.66 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003313/0.008392, allocations: 0.91 MB / 333.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.008533, allocations: 112.3 kB / 333.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.008535, allocations: 4.25 kB / 333.3 MB, free: 6.609 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.815e-05/0.008563, allocations: 31.94 kB / 333.4 MB, free: 6.578 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.008886, allocations: 30.78 kB / 333.4 MB, free: 6.551 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.0105, allocations: 2.485 MB / 335.9 MB, free: 3.883 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.17e-05/0.01057, allocations: 116.1 kB / 336 MB, free: 3.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.766e-05/0.01062, allocations: 21.94 kB / 336 MB, free: 3.727 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.525e-05/0.01067, allocations: 48.48 kB / 336 MB, free: 3.68 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01068, allocations: 0 / 336 MB, free: 3.68 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.0277, allocations: 4.17 MB / 340.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.787/6.815, allocations: 3.938 kB / 340.2 MB, free: 15.62 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.48658653255552]