Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001612/0.001612, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001919/0.001919, allocations: 201.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2246/0.2246, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 75.88 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3425, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01163/0.3542, allocations: 10.24 MB / 0.541 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008899/0.3631, allocations: 3.794 MB / 0.5447 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00301/0.3662, allocations: 58.81 kB / 0.5448 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004166/0.3704, allocations: 1.942 MB / 0.5467 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005048/0.3755, allocations: 1.622 MB / 0.5482 GB, free: 4 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.3771, allocations: 0.616 MB / 0.5488 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004801/0.3819, allocations: 3.368 MB / 0.5521 GB, free: 12.01 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00277/0.3847, allocations: 2.568 MB / 0.5546 GB, free: 9.395 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.3863, allocations: 1.234 MB / 0.5558 GB, free: 8.156 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001856/0.3882, allocations: 1.666 MB / 0.5575 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004197/0.3886, allocations: 256 kB / 0.5577 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001762/0.3904, allocations: 1.022 MB / 0.5587 GB, free: 5.211 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001191/0.3916, allocations: 1.558 MB / 0.5602 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001419/0.393, allocations: 1.817 MB / 0.562 GB, free: 1.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005385/0.3984, allocations: 5.783 MB / 0.5677 GB, free: 12.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3984, allocations: 0 / 0.5677 GB, free: 12.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3984, allocations: 0 / 0.5677 GB, free: 12.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.331e-05/0.3985, allocations: 0 / 0.5677 GB, free: 12.02 MB / 430.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.00707/0.4056, allocations: 3.991 MB / 0.5716 GB, free: 7.961 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.4056, allocations: 11.97 kB / 0.5716 GB, free: 7.949 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006033/0.4117, allocations: 1.786 MB / 0.5733 GB, free: 6.156 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003323/0.415, allocations: 1.916 MB / 0.5752 GB, free: 4.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.4152, allocations: 189.2 kB / 0.5754 GB, free: 3.992 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004057/0.4156, allocations: 263.7 kB / 0.5756 GB, free: 3.734 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01529/0.4309, allocations: 8.444 MB / 0.5839 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001387/0.4311, allocations: 39.59 kB / 0.5839 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007676/0.4318, allocations: 127.9 kB / 0.584 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002936/0.4348, allocations: 1.695 MB / 0.5857 GB, free: 8.758 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01548/0.4503, allocations: 7.114 MB / 0.5926 GB, free: 1.633 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04348/0.4938, allocations: 34.01 MB / 0.6258 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008025/0.5019, allocations: 3.304 MB / 0.6291 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001989/0.5039, allocations: 1.463 MB / 0.6305 GB, free: 9.688 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007621/0.5116, allocations: 4.444 MB / 0.6348 GB, free: 5.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.5116, allocations: 47.12 kB / 0.6349 GB, free: 4.965 MB / 494.1 MB Notification: Performance of pre-optimization done (n=121): time 3.627e-06/0.5117, allocations: 0 / 0.6349 GB, free: 4.965 MB / 494.1 MB Notification: Performance of matching and sorting (n=129): time 0.03172/0.5434, allocations: 11.55 MB / 0.6462 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.5435, allocations: 178.8 kB / 0.6463 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006975/0.5505, allocations: 3.717 MB / 0.65 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003119/0.5509, allocations: 41.98 kB / 0.65 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002309/0.5532, allocations: 2.74 MB / 0.6527 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007956/0.554, allocations: 0.5209 MB / 0.6532 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002019/0.556, allocations: 1.087 MB / 0.6542 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.5562, allocations: 305.1 kB / 0.6545 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002832/0.559, allocations: 1.716 MB / 0.6562 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005397/0.5644, allocations: 5.128 MB / 0.6612 GB, free: 8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01303/0.5775, allocations: 7.428 MB / 0.6685 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001912/0.5777, allocations: 32 kB / 0.6685 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.02091/0.5986, allocations: 6.725 MB / 0.6751 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002597/0.599, allocations: 59.94 kB / 0.6751 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003264/0.5993, allocations: 124 kB / 0.6752 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.6005, allocations: 321.4 kB / 0.6756 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00658/0.6071, allocations: 1.248 MB / 0.6768 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004196/0.6113, allocations: 2.498 MB / 0.6792 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006764/0.6181, allocations: 295.5 kB / 0.6795 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009065/0.619, allocations: 336 kB / 0.6798 GB, free: 3.098 MB / 0.5294 GB 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 (668): * Single equations (assignments): 664 * 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.003748/0.6228, allocations: 1.799 MB / 0.6816 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007685/0.6236, allocations: 304 kB / 0.6819 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005247/0.6288, allocations: 2.374 MB / 0.6842 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.879e-05/0.6289, allocations: 12 kB / 0.6842 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.666e-05/0.6289, allocations: 4 kB / 0.6842 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.629, allocations: 7.984 kB / 0.6842 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/0.6427, allocations: 5.91 MB / 0.69 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/0.6428, allocations: 8.031 kB / 0.69 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009228/0.6437, allocations: 175.7 kB / 0.6901 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002296/0.646, allocations: 0.7185 MB / 0.6908 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/0.6462, allocations: 20 kB / 0.6909 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006382/0.6526, allocations: 4.809 MB / 0.6956 GB, free: 2.719 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.6526, allocations: 0 / 0.6956 GB, free: 2.719 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007335/0.6599, allocations: 4.341 MB / 0.6998 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.661, allocations: 364.9 kB / 0.7001 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007435/0.6618, allocations: 20.06 kB / 0.7002 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/0.6634, allocations: 75.84 kB / 0.7002 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002339/0.6637, allocations: 72.5 kB / 0.7003 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/0.6638, allocations: 39.98 kB / 0.7003 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005069/0.6689, allocations: 2.315 MB / 0.7026 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6689, allocations: 0 / 0.7026 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004935/0.6738, allocations: 0.8047 MB / 0.7034 GB, free: 10.65 MB / 0.5606 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.0004544/0.6743, allocations: 151 kB / 0.7035 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00708/0.6814, allocations: 4.053 MB / 0.7075 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.6814, allocations: 1.25 kB / 0.7075 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.6831, allocations: 1.115 MB / 0.7086 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00306/0.6862, allocations: 405.1 kB / 0.709 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01474/0.7009, allocations: 7.254 MB / 0.7161 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004584/0.7056, allocations: 2.789 MB / 0.7188 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005709/0.7113, allocations: 1.656 MB / 0.7204 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/0.7125, allocations: 215.4 kB / 0.7206 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of SimCode: time 2.044e-06/0.7125, allocations: 0 / 0.7206 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of Templates: time 0.3592/1.072, allocations: 27.81 MB / 0.7478 GB, free: 172.3 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches