Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_0_0_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.0007304/0.0007303, allocations: 95.03 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008054/0.0008055, allocations: 173.6 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1901/0.1901, allocations: 44.24 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.000291, allocations: 8 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.109, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.0296/0.1386, allocations: 33.73 MB / 0.4942 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01693/0.1556, allocations: 7.839 MB / 0.5019 GB, free: 3.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005447/0.1611, allocations: 143.6 kB / 0.502 GB, free: 3.379 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.1622, allocations: 370.2 kB / 0.5024 GB, free: 3.016 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003877/0.1661, allocations: 1.553 MB / 0.5039 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.1675, allocations: 0.5656 MB / 0.5044 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2179/0.3855, allocations: 4.727 MB / 0.5091 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004751/0.3903, allocations: 3.273 MB / 0.5123 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002074/0.3924, allocations: 0.9502 MB / 0.5132 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002782/0.3952, allocations: 1.615 MB / 0.5148 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004546/0.3956, allocations: 113.8 kB / 0.5149 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001828/0.3975, allocations: 0.9596 MB / 0.5158 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001323/0.3988, allocations: 1.429 MB / 0.5172 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001437/0.4002, allocations: 1.687 MB / 0.5188 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004792/0.405, allocations: 5.432 MB / 0.5242 GB, free: 7.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4051, allocations: 0 / 0.5242 GB, free: 7.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4051, allocations: 4 kB / 0.5242 GB, free: 7.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001031/0.4052, allocations: 1.125 kB / 0.5242 GB, free: 7.555 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.005203/0.4104, allocations: 3.312 MB / 0.5274 GB, free: 5.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.4104, allocations: 8.875 kB / 0.5274 GB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005828/0.411, allocations: 0.6085 MB / 0.528 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005524/0.4166, allocations: 1.835 MB / 0.5298 GB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002961/0.4195, allocations: 2.223 MB / 0.532 GB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.4196, allocations: 194 kB / 0.5321 GB, free: 3.535 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003965/0.42, allocations: 256.6 kB / 0.5324 GB, free: 3.527 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009921/0.43, allocations: 8.452 MB / 0.5406 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.873e-05/0.4301, allocations: 39.48 kB / 0.5407 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002901/0.4304, allocations: 128.5 kB / 0.5408 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002553/0.4329, allocations: 1.695 MB / 0.5425 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01114/0.4441, allocations: 7.105 MB / 0.5494 GB, free: 7.016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03669/0.4808, allocations: 34.15 MB / 0.5827 GB, free: 4.301 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007482/0.4883, allocations: 3.272 MB / 0.5859 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001886/0.4902, allocations: 1.469 MB / 0.5874 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006334/0.4966, allocations: 4.358 MB / 0.5916 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.4966, allocations: 50.12 kB / 0.5917 GB, free: 10.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 2.996e-06/0.4966, allocations: 4 kB / 0.5917 GB, free: 10.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.02984/0.5265, allocations: 11.49 MB / 0.6029 GB, free: 15.2 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.338e-05/0.5266, allocations: 173.3 kB / 0.6031 GB, free: 14.99 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006109/0.5327, allocations: 3.734 MB / 0.6067 GB, free: 11.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000199/0.5329, allocations: 41.7 kB / 0.6068 GB, free: 11.22 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002292/0.5352, allocations: 2.75 MB / 0.6094 GB, free: 8.473 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006455/0.5359, allocations: 0.531 MB / 0.61 GB, free: 7.945 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007364/0.5366, allocations: 457.6 kB / 0.6104 GB, free: 7.492 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.5368, allocations: 305.1 kB / 0.6107 GB, free: 7.191 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002856/0.5396, allocations: 1.697 MB / 0.6123 GB, free: 5.488 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00595/0.5456, allocations: 5.117 MB / 0.6173 GB, free: 14.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009276/0.5549, allocations: 7.402 MB / 0.6246 GB, free: 6.082 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001085/0.555, allocations: 36 kB / 0.6246 GB, free: 6.047 MB / 478.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01272/0.5678, allocations: 6.697 MB / 0.6311 GB, free: 15.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.5679, allocations: 60 kB / 0.6312 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001916/0.5681, allocations: 123.9 kB / 0.6313 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007073/0.5688, allocations: 324.8 kB / 0.6316 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003978/0.5728, allocations: 1.24 MB / 0.6328 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/0.5753, allocations: 2.283 MB / 0.6351 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003926/0.5793, allocations: 287.5 kB / 0.6353 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008463/0.5801, allocations: 339.9 kB / 0.6357 GB, free: 10.89 MB / 494.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.003749/0.5839, allocations: 1.791 MB / 0.6374 GB, free: 9.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007383/0.5847, allocations: 311.9 kB / 0.6377 GB, free: 8.781 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005256/0.5899, allocations: 2.355 MB / 0.64 GB, free: 6.414 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.131e-05/0.59, allocations: 16 kB / 0.64 GB, free: 6.398 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/0.59, allocations: 7.938 kB / 0.64 GB, free: 6.391 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/0.59, allocations: 7.984 kB / 0.64 GB, free: 6.383 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01207/0.6021, allocations: 5.922 MB / 0.6458 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/0.6021, allocations: 4 kB / 0.6458 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000794/0.6029, allocations: 176 kB / 0.646 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002135/0.6051, allocations: 0.7162 MB / 0.6467 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/0.6052, allocations: 20 kB / 0.6467 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005657/0.6109, allocations: 4.474 MB / 0.6511 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.6109, allocations: 4.031 kB / 0.6511 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00675/0.6177, allocations: 4.331 MB / 0.6553 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000943/0.6186, allocations: 364.9 kB / 0.6557 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005626/0.6192, allocations: 31.36 kB / 0.6557 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.6205, allocations: 71.91 kB / 0.6558 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000192/0.6207, allocations: 64.56 kB / 0.6558 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.6208, allocations: 36 kB / 0.6559 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00458/0.6254, allocations: 2.331 MB / 0.6581 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6254, allocations: 0 / 0.6581 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005013/0.6305, allocations: 0.8163 MB / 0.6589 GB, free: 2.828 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.007446/0.6379, allocations: 4.96 MB / 0.6638 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006822/0.6448, allocations: 4.019 MB / 0.6677 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.6448, allocations: 0 / 0.6677 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001628/0.6464, allocations: 1.103 MB / 0.6688 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003344/0.6498, allocations: 373.2 kB / 0.6691 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2593/0.9092, allocations: 43.79 MB / 0.7119 GB, free: 202.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003016/0.9122, allocations: 2.787 MB / 0.7146 GB, free: 202.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003954/0.9162, allocations: 1.662 MB / 0.7162 GB, free: 202.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001649/0.9178, allocations: 1.521 MB / 0.7177 GB, free: 201.2 MB / 0.545 GB Notification: Performance of SimCode: time 6.72e-07/0.9179, allocations: 2.156 kB / 0.7177 GB, free: 201.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06708/0.9849, allocations: 59.32 MB / 0.7757 GB, free: 153.2 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001207/0.9851, allocations: 238.7 kB / 0.7759 GB, free: 152.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.192/4.177, allocations: 0 / 0.7759 GB, free: 152.9 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches