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.001206/0.001206, allocations: 104.6 kB / 16.41 MB, free: 6 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.001239/0.001239, allocations: 193.3 kB / 17.34 MB, free: 5.582 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.375/1.375, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2235/0.2235, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 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.00185/0.00185, allocations: 81.97 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1179, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01153/0.1295, allocations: 10.28 MB / 0.4974 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008334/0.1379, allocations: 3.787 MB / 0.5011 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001965/0.1399, allocations: 55.88 kB / 0.5012 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004445/0.1444, allocations: 1.943 MB / 0.5031 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005101/0.1496, allocations: 1.693 MB / 0.5048 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001958/0.1515, allocations: 0.6082 MB / 0.5053 GB, free: 9.828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006549/0.1581, allocations: 3.353 MB / 0.5086 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004725/0.1629, allocations: 2.583 MB / 0.5111 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003153/0.1661, allocations: 1.257 MB / 0.5124 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003483/0.1697, allocations: 1.674 MB / 0.514 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001356/0.1711, allocations: 256 kB / 0.5142 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002944/0.174, allocations: 1.026 MB / 0.5153 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002265/0.1763, allocations: 1.59 MB / 0.5168 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003596/0.18, allocations: 1.837 MB / 0.5186 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008482/0.1885, allocations: 5.882 MB / 0.5243 GB, free: 6.258 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.1885, allocations: 0 / 0.5243 GB, free: 6.258 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.509e-06/0.1886, allocations: 0 / 0.5243 GB, free: 6.258 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002289/0.1888, allocations: 3.938 kB / 0.5243 GB, free: 6.254 MB / 414.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.01099/0.1998, allocations: 4.152 MB / 0.5284 GB, free: 2.027 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/0.1999, allocations: 15.89 kB / 0.5284 GB, free: 2.012 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001734/0.2016, allocations: 0.6082 MB / 0.529 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2303/0.432, allocations: 1.8 MB / 0.5308 GB, free: 36.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004657/0.4367, allocations: 2.428 MB / 0.5331 GB, free: 36.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/0.4369, allocations: 189.6 kB / 0.5333 GB, free: 36.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007866/0.4377, allocations: 257.4 kB / 0.5336 GB, free: 36.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0154/0.4531, allocations: 8.432 MB / 0.5418 GB, free: 33.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000171/0.4533, allocations: 48.89 kB / 0.5418 GB, free: 33.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005623/0.4539, allocations: 125.8 kB / 0.542 GB, free: 33.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003144/0.457, allocations: 1.697 MB / 0.5436 GB, free: 32.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01507/0.4721, allocations: 7.094 MB / 0.5506 GB, free: 30.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03709/0.5093, allocations: 34.1 MB / 0.5839 GB, free: 140 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007402/0.5167, allocations: 3.272 MB / 0.5871 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002057/0.5189, allocations: 1.462 MB / 0.5885 GB, free: 11.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008149/0.527, allocations: 4.385 MB / 0.5928 GB, free: 6.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.5271, allocations: 47.12 kB / 0.5928 GB, free: 6.676 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 5.761e-06/0.5272, allocations: 0 / 0.5928 GB, free: 6.676 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.03185/0.559, allocations: 11.77 MB / 0.6043 GB, free: 10.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.5592, allocations: 166.9 kB / 0.6045 GB, free: 10.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006513/0.5657, allocations: 3.759 MB / 0.6081 GB, free: 6.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002896/0.566, allocations: 41.7 kB / 0.6082 GB, free: 6.773 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002274/0.5683, allocations: 2.862 MB / 0.611 GB, free: 3.887 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007848/0.5691, allocations: 0.5428 MB / 0.6115 GB, free: 3.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001927/0.5711, allocations: 1.084 MB / 0.6126 GB, free: 2.246 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.494e-05/0.5712, allocations: 301.1 kB / 0.6128 GB, free: 1.949 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002587/0.5738, allocations: 1.694 MB / 0.6145 GB, free: 256 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005588/0.5794, allocations: 5.119 MB / 0.6195 GB, free: 9.402 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008371/0.5878, allocations: 7.404 MB / 0.6267 GB, free: 300 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001367/0.5879, allocations: 39.94 kB / 0.6268 GB, free: 260 kB / 462.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01253/0.6005, allocations: 6.718 MB / 0.6333 GB, free: 9.527 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000141/0.6007, allocations: 56 kB / 0.6334 GB, free: 9.473 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001891/0.6009, allocations: 127.9 kB / 0.6335 GB, free: 9.348 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006909/0.6016, allocations: 320.7 kB / 0.6338 GB, free: 9.031 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003924/0.6055, allocations: 1.244 MB / 0.635 GB, free: 7.785 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003159/0.6087, allocations: 2.489 MB / 0.6375 GB, free: 5.152 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00423/0.613, allocations: 291.6 kB / 0.6377 GB, free: 4.867 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001025/0.614, allocations: 336 kB / 0.6381 GB, free: 4.539 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.004038/0.6181, allocations: 1.795 MB / 0.6398 GB, free: 2.73 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008526/0.619, allocations: 325.8 kB / 0.6401 GB, free: 2.41 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005361/0.6244, allocations: 2.363 MB / 0.6424 GB, free: 36 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.277e-05/0.6244, allocations: 19.94 kB / 0.6424 GB, free: 16 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.6245, allocations: 4 kB / 0.6424 GB, free: 12 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.468e-05/0.6245, allocations: 7.969 kB / 0.6425 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01426/0.6388, allocations: 5.93 MB / 0.6482 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-05/0.6388, allocations: 0 / 0.6482 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000944/0.6398, allocations: 175.7 kB / 0.6484 GB, free: 9.828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002257/0.6421, allocations: 0.7147 MB / 0.6491 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002242/0.6423, allocations: 20 kB / 0.6491 GB, free: 9.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006561/0.6489, allocations: 4.816 MB / 0.6538 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.6489, allocations: 4 kB / 0.6538 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007639/0.6566, allocations: 4.343 MB / 0.6581 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0017/0.6583, allocations: 0.5495 MB / 0.6586 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007079/0.6591, allocations: 19.98 kB / 0.6586 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/0.6606, allocations: 67.91 kB / 0.6587 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002931/0.6609, allocations: 76.42 kB / 0.6588 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/0.661, allocations: 36 kB / 0.6588 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004907/0.666, allocations: 2.339 MB / 0.6611 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.2e-07/0.666, allocations: 0 / 0.6611 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005493/0.6715, allocations: 0.8202 MB / 0.6619 GB, free: 11.85 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.008396/0.6799, allocations: 4.967 MB / 0.6667 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00726/0.6872, allocations: 4.034 MB / 0.6707 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/0.6873, allocations: 4 kB / 0.6707 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001708/0.689, allocations: 1.108 MB / 0.6718 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00332/0.6923, allocations: 395.1 kB / 0.6721 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07261/0.765, allocations: 37.82 MB / 0.7091 GB, free: 6.285 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005155/0.7702, allocations: 2.794 MB / 0.7118 GB, free: 3.469 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004638/0.7749, allocations: 1.654 MB / 0.7134 GB, free: 1.812 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003086/0.778, allocations: 1.53 MB / 0.7149 GB, free: 288 kB / 0.545 GB Notification: Performance of SimCode: time 1.282e-06/0.778, allocations: 0 / 0.7149 GB, free: 288 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3704/1.148, allocations: 57.8 MB / 0.7714 GB, free: 189.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.27/25.42, allocations: 7.938 kB / 0.7714 GB, free: 189.4 MB / 0.5762 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches