Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009095/0.0009095, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009869/0.000987, allocations: 180.8 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.4 MB / 223.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3157/0.3157, allocations: 43.57 MB / 315 MB, free: 8.805 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005022/0.0005022, allocations: 20 kB / 384.7 MB, free: 7.543 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1161, allocations: 58.86 MB / 443.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.2273/0.3434, allocations: 33.74 MB / 477.3 MB, free: 28.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01517/0.3586, allocations: 7.829 MB / 485.1 MB, free: 25.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005389/0.364, allocations: 143.7 kB / 485.3 MB, free: 25.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.3651, allocations: 375.8 kB / 485.6 MB, free: 25.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003164/0.3683, allocations: 1.552 MB / 487.2 MB, free: 24.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.3694, allocations: 0.5575 MB / 487.7 MB, free: 24.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003899/0.3733, allocations: 4.763 MB / 492.5 MB, free: 22.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003384/0.3767, allocations: 3.281 MB / 495.8 MB, free: 21.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.378, allocations: 0.9588 MB / 496.7 MB, free: 21.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001858/0.3799, allocations: 1.612 MB / 498.4 MB, free: 20.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000287/0.3802, allocations: 113.5 kB / 498.5 MB, free: 20.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001678/0.3819, allocations: 0.947 MB / 499.4 MB, free: 20.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.3833, allocations: 1.433 MB / 0.4891 GB, free: 20.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.3846, allocations: 1.687 MB / 0.4908 GB, free: 18.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00622/0.3908, allocations: 5.441 MB / 0.4961 GB, free: 17.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3909, allocations: 7.938 kB / 0.4961 GB, free: 17.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.3909, allocations: 2.078 kB / 0.4961 GB, free: 17.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001449/0.391, allocations: 0 / 0.4961 GB, free: 17.34 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.006355/0.3974, allocations: 3.33 MB / 0.4993 GB, free: 15.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.3974, allocations: 9.844 kB / 0.4993 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007/0.3981, allocations: 0.605 MB / 0.4999 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006162/0.4043, allocations: 1.832 MB / 0.5017 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004251/0.4086, allocations: 2.387 MB / 0.504 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.4087, allocations: 189.4 kB / 0.5042 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000541/0.4093, allocations: 257.2 kB / 0.5045 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01526/0.4246, allocations: 8.447 MB / 0.5127 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-05/0.4247, allocations: 52.61 kB / 0.5128 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003491/0.425, allocations: 126 kB / 0.5129 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002483/0.4275, allocations: 1.695 MB / 0.5145 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01079/0.4383, allocations: 7.11 MB / 0.5215 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04057/0.4789, allocations: 34.17 MB / 0.5549 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007598/0.4866, allocations: 3.279 MB / 0.5581 GB, free: 8.586 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002134/0.4887, allocations: 1.462 MB / 0.5595 GB, free: 7.109 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006515/0.4953, allocations: 4.369 MB / 0.5638 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.4953, allocations: 43.12 kB / 0.5638 GB, free: 2.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.396e-06/0.4953, allocations: 4 kB / 0.5638 GB, free: 2.477 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02771/0.5231, allocations: 11.56 MB / 0.5751 GB, free: 6.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.5232, allocations: 162.9 kB / 0.5752 GB, free: 6.574 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006008/0.5292, allocations: 3.746 MB / 0.5789 GB, free: 2.836 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003462/0.5296, allocations: 41.7 kB / 0.5789 GB, free: 2.789 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002077/0.5317, allocations: 2.76 MB / 0.5816 GB, free: 15.98 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006687/0.5323, allocations: 0.517 MB / 0.5821 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005638/0.5329, allocations: 465.6 kB / 0.5826 GB, free: 15 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.533, allocations: 305.1 kB / 0.5829 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002734/0.5358, allocations: 1.693 MB / 0.5845 GB, free: 13 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005801/0.5416, allocations: 5.119 MB / 0.5895 GB, free: 6.156 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009343/0.551, allocations: 7.402 MB / 0.5968 GB, free: 13.05 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-05/0.5511, allocations: 39.98 kB / 0.5968 GB, free: 13.01 MB / 478.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01201/0.5631, allocations: 6.695 MB / 0.6033 GB, free: 6.305 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.939e-05/0.5632, allocations: 59.94 kB / 0.6034 GB, free: 6.246 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001213/0.5633, allocations: 128.1 kB / 0.6035 GB, free: 6.121 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000631/0.5639, allocations: 316.7 kB / 0.6038 GB, free: 5.809 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003374/0.5673, allocations: 1.236 MB / 0.605 GB, free: 4.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/0.5698, allocations: 2.29 MB / 0.6073 GB, free: 2.141 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003182/0.573, allocations: 287.5 kB / 0.6075 GB, free: 1.859 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004061/0.5734, allocations: 336 kB / 0.6079 GB, free: 1.531 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (664): * Single equations (assignments): 660 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002742/0.5761, allocations: 1.791 MB / 0.6096 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004939/0.5766, allocations: 315.7 kB / 0.6099 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00461/0.5812, allocations: 2.363 MB / 0.6122 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.361e-05/0.5813, allocations: 19.94 kB / 0.6122 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.5813, allocations: 8 kB / 0.6122 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.5813, allocations: 3.984 kB / 0.6122 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/0.5917, allocations: 5.927 MB / 0.618 GB, free: 7.008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.5917, allocations: 0 / 0.618 GB, free: 7.008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000758/0.5925, allocations: 183.8 kB / 0.6182 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002167/0.5947, allocations: 0.7069 MB / 0.6189 GB, free: 6.117 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-05/0.5948, allocations: 20 kB / 0.6189 GB, free: 6.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005762/0.6005, allocations: 4.482 MB / 0.6233 GB, free: 1.484 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.6006, allocations: 4 kB / 0.6233 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006549/0.6071, allocations: 4.333 MB / 0.6275 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/0.6084, allocations: 0.532 MB / 0.628 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003002/0.6087, allocations: 20 kB / 0.6281 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.6098, allocations: 75.89 kB / 0.6281 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/0.61, allocations: 68.5 kB / 0.6282 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.152e-05/0.6101, allocations: 36 kB / 0.6282 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003787/0.6139, allocations: 2.347 MB / 0.6305 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6139, allocations: 0 / 0.6305 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004939/0.6189, allocations: 0.8125 MB / 0.6313 GB, free: 9.219 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007338/0.6262, allocations: 4.963 MB / 0.6362 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006681/0.6329, allocations: 4.015 MB / 0.6401 GB, free: 216 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.6329, allocations: 0 / 0.6401 GB, free: 216 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.2377/0.8707, allocations: 1.107 MB / 0.6412 GB, free: 137.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003233/0.874, allocations: 367.3 kB / 0.6415 GB, free: 137.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06178/0.9358, allocations: 43.94 MB / 0.6844 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003118/0.9389, allocations: 2.797 MB / 0.6872 GB, free: 106.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004472/0.9434, allocations: 1.657 MB / 0.6888 GB, free: 106.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001989/0.9454, allocations: 1.533 MB / 0.6903 GB, free: 105.2 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/0.9454, allocations: 0 / 0.6903 GB, free: 105.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1343/1.08, allocations: 59.43 MB / 0.7483 GB, free: 55.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/1.08, allocations: 227.3 kB / 0.7485 GB, free: 55.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.494/4.573, allocations: 3.094 kB / 0.7485 GB, free: 55.49 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches