Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.001309/0.001309, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001434/0.001434, allocations: 214.9 kB / 23.74 MB, free: 4.672 MB / 14.72 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 1.387/1.387, allocations: 230.5 MB / 257.4 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2161/0.2161, allocations: 46.93 MB / 360.8 MB, free: 4.145 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 83.88 kB / 0.4962 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3266, allocations: 66.08 MB / 0.5607 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01217/0.3388, allocations: 10.41 MB / 0.5709 GB, free: 9.789 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007681/0.3464, allocations: 3.94 MB / 0.5748 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.3477, allocations: 75.62 kB / 0.5748 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004059/0.3517, allocations: 2.106 MB / 0.5769 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004041/0.3558, allocations: 1.72 MB / 0.5786 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.3573, allocations: 0.694 MB / 0.5792 GB, free: 1.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005532/0.3629, allocations: 4.004 MB / 0.5832 GB, free: 13.22 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002892/0.3657, allocations: 2.159 MB / 0.5853 GB, free: 11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002203/0.3679, allocations: 1.328 MB / 0.5866 GB, free: 9.672 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003039/0.371, allocations: 2.009 MB / 0.5885 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006635/0.3716, allocations: 268 kB / 0.5888 GB, free: 7.395 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002395/0.374, allocations: 1.213 MB / 0.59 GB, free: 6.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002021/0.3761, allocations: 1.71 MB / 0.5916 GB, free: 4.465 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002475/0.3785, allocations: 1.957 MB / 0.5935 GB, free: 2.496 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008145/0.3867, allocations: 6.342 MB / 0.5997 GB, free: 12.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.3867, allocations: 0 / 0.5997 GB, free: 12.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3867, allocations: 0 / 0.5997 GB, free: 12.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001642/0.3869, allocations: 0 / 0.5997 GB, free: 12.13 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.0105/0.3974, allocations: 4.374 MB / 0.604 GB, free: 7.699 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.3974, allocations: 8.031 kB / 0.604 GB, free: 7.691 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009474/0.3984, allocations: 0.6288 MB / 0.6046 GB, free: 7.051 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08389/0.4822, allocations: 7.05 MB / 0.6115 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00681/0.4891, allocations: 2.557 MB / 0.614 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/0.4892, allocations: 198.5 kB / 0.6142 GB, free: 13.17 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008101/0.49, allocations: 271.8 kB / 0.6145 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01463/0.5047, allocations: 8.525 MB / 0.6228 GB, free: 3.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/0.5048, allocations: 43.64 kB / 0.6228 GB, free: 3.707 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003314/0.5051, allocations: 123.9 kB / 0.6229 GB, free: 3.586 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002827/0.5079, allocations: 1.747 MB / 0.6247 GB, free: 1.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01353/0.5215, allocations: 7.17 MB / 0.6317 GB, free: 10.66 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04397/0.5654, allocations: 33.75 MB / 0.6646 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008565/0.574, allocations: 2.847 MB / 0.6674 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002301/0.5763, allocations: 1.518 MB / 0.6689 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01209/0.5884, allocations: 6.293 MB / 0.675 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/0.5884, allocations: 51.5 kB / 0.6751 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=151): time 4.98e-06/0.5885, allocations: 0 / 0.6751 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=188): time 0.06264/0.6511, allocations: 18.91 MB / 0.6935 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.6512, allocations: 201.2 kB / 0.6937 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005177/0.6564, allocations: 3.749 MB / 0.6974 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002524/0.6567, allocations: 53.7 kB / 0.6974 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002228/0.6589, allocations: 2.94 MB / 0.7003 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008223/0.6597, allocations: 0.7481 MB / 0.701 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001515/0.6612, allocations: 1.175 MB / 0.7022 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.6613, allocations: 309 kB / 0.7025 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003178/0.6645, allocations: 2.1 MB / 0.7045 GB, free: 14.69 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006227/0.6707, allocations: 5.652 MB / 0.7101 GB, free: 7.262 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01066/0.6814, allocations: 8.436 MB / 0.7183 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.286e-05/0.6815, allocations: 36 kB / 0.7183 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01841/0.6999, allocations: 8.68 MB / 0.7268 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.952e-05/0.7, allocations: 63.98 kB / 0.7269 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001418/0.7002, allocations: 124.5 kB / 0.727 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005062/0.7052, allocations: 1.384 MB / 0.7283 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004264/0.7095, allocations: 1.298 MB / 0.7296 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2608/0.9703, allocations: 9.103 MB / 0.7385 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004048/0.9743, allocations: 301.3 kB / 0.7388 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007739/0.9751, allocations: 360.3 kB / 0.7391 GB, free: 147.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (695): * Single equations (assignments): 691 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,44,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002689/0.9778, allocations: 1.889 MB / 0.741 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005662/0.9784, allocations: 354.5 kB / 0.7413 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007201/0.9856, allocations: 3.752 MB / 0.745 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.824e-05/0.9856, allocations: 23.23 kB / 0.745 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.9856, allocations: 7.812 kB / 0.745 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.458e-05/0.9856, allocations: 11.06 kB / 0.745 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01438/1, allocations: 8.1 MB / 0.7529 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/1, allocations: 3.969 kB / 0.7529 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/1.001, allocations: 253.2 kB / 0.7532 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00399/1.005, allocations: 1.183 MB / 0.7543 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001675/1.005, allocations: 31.84 kB / 0.7543 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009613/1.015, allocations: 8.371 MB / 0.7625 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.015, allocations: 0.875 kB / 0.7625 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009301/1.024, allocations: 6.291 MB / 0.7687 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008954/1.025, allocations: 317.4 kB / 0.769 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005226/1.026, allocations: 28 kB / 0.769 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/1.027, allocations: 79.91 kB / 0.7691 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003249/1.027, allocations: 124 kB / 0.7692 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/1.027, allocations: 59.42 kB / 0.7692 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002989/1.03, allocations: 2.328 MB / 0.7715 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.03, allocations: 0 / 0.7715 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004646/1.035, allocations: 0.9477 MB / 0.7724 GB, free: 123.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.w) * 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 (130): * Single equations (assignments): 126 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0101/1.045, allocations: 6.99 MB / 0.7793 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007398/1.053, allocations: 5.012 MB / 0.7842 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.053, allocations: 4 kB / 0.7842 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001978/1.055, allocations: 1.627 MB / 0.7858 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/1.057, allocations: 402.3 kB / 0.7861 GB, free: 109.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05167/1.109, allocations: 44.34 MB / 0.8295 GB, free: 60.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002392/1.111, allocations: 2.961 MB / 0.8323 GB, free: 57.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003317/1.114, allocations: 1.812 MB / 0.8341 GB, free: 55.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001682/1.116, allocations: 1.647 MB / 0.8357 GB, free: 53.55 MB / 0.5606 GB Notification: Performance of SimCode: time 1.432e-06/1.116, allocations: 0 / 0.8357 GB, free: 53.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1192/1.235, allocations: 72.16 MB / 0.9062 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.55/29.79, allocations: 11.23 kB / 0.9062 GB, free: 13.73 MB / 0.5919 GB " [Timeout remaining time 630] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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: 33.024499191204086]