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: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001486/0.001486, allocations: 194 kB / 18.77 MB, free: 4.742 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.341/1.341, allocations: 222.9 MB / 242.4 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2011/0.2011, allocations: 44.18 MB / 336.8 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 65.86 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1057, allocations: 60.82 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.03013/0.1359, allocations: 34.73 MB / 0.4921 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01618/0.1521, allocations: 7.901 MB / 0.4998 GB, free: 4.051 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006459/0.1586, allocations: 147.6 kB / 0.4999 GB, free: 3.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00401/0.1626, allocations: 1.921 MB / 0.5018 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003878/0.1666, allocations: 1.549 MB / 0.5033 GB, free: 440 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2071/0.3738, allocations: 0.5568 MB / 0.5039 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006762/0.3806, allocations: 4.728 MB / 0.5085 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004188/0.3848, allocations: 2.544 MB / 0.511 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002823/0.3877, allocations: 1.098 MB / 0.5121 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003545/0.3912, allocations: 1.793 MB / 0.5138 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009101/0.3922, allocations: 178 kB / 0.514 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002529/0.3947, allocations: 1.02 MB / 0.515 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002209/0.397, allocations: 1.516 MB / 0.5165 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002987/0.4, allocations: 1.764 MB / 0.5182 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005864/0.4059, allocations: 4.539 MB / 0.5226 GB, free: 9.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.016e-06/0.4059, allocations: 1.188 kB / 0.5226 GB, free: 9.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4059, allocations: 0 / 0.5226 GB, free: 9.113 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002191/0.4061, allocations: 0 / 0.5226 GB, free: 9.113 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.009769/0.4159, allocations: 4.019 MB / 0.5265 GB, free: 6.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.416, allocations: 7.906 kB / 0.5265 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005883/0.4219, allocations: 1.775 MB / 0.5283 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003845/0.4257, allocations: 1.911 MB / 0.5301 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.4259, allocations: 197.7 kB / 0.5303 GB, free: 4.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006938/0.4266, allocations: 253.8 kB / 0.5306 GB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01336/0.44, allocations: 8.435 MB / 0.5388 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001154/0.4401, allocations: 45.78 kB / 0.5389 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005028/0.4406, allocations: 128 kB / 0.539 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002998/0.4436, allocations: 1.696 MB / 0.5406 GB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01438/0.4581, allocations: 7.097 MB / 0.5476 GB, free: 7.312 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04346/0.5016, allocations: 34.15 MB / 0.5809 GB, free: 4.598 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007304/0.5089, allocations: 3.291 MB / 0.5841 GB, free: 1.164 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002/0.511, allocations: 1.46 MB / 0.5855 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007015/0.518, allocations: 4.36 MB / 0.5898 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.5181, allocations: 51.12 kB / 0.5899 GB, free: 11.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 3.858e-06/0.5181, allocations: 2.625 kB / 0.5899 GB, free: 11.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.03019/0.5483, allocations: 11.51 MB / 0.6011 GB, free: 15.47 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.138e-05/0.5484, allocations: 170.9 kB / 0.6013 GB, free: 15.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007654/0.5561, allocations: 3.721 MB / 0.6049 GB, free: 11.55 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003222/0.5564, allocations: 41.7 kB / 0.6049 GB, free: 11.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002045/0.5585, allocations: 2.756 MB / 0.6076 GB, free: 8.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006854/0.5592, allocations: 0.5155 MB / 0.6081 GB, free: 8.238 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00145/0.5606, allocations: 1.077 MB / 0.6092 GB, free: 7.152 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.011e-05/0.5607, allocations: 312.2 kB / 0.6095 GB, free: 6.848 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002502/0.5633, allocations: 1.711 MB / 0.6112 GB, free: 5.133 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004718/0.568, allocations: 5.127 MB / 0.6162 GB, free: 14.34 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008238/0.5763, allocations: 7.411 MB / 0.6234 GB, free: 5.715 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.84e-05/0.5764, allocations: 36 kB / 0.6234 GB, free: 5.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01379/0.5902, allocations: 6.722 MB / 0.63 GB, free: 15.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.693e-05/0.5903, allocations: 56 kB / 0.6301 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001251/0.5904, allocations: 120 kB / 0.6302 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006226/0.5911, allocations: 329.1 kB / 0.6305 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004001/0.5951, allocations: 1.24 MB / 0.6317 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002656/0.5978, allocations: 2.293 MB / 0.6339 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004532/0.6023, allocations: 283.6 kB / 0.6342 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009408/0.6033, allocations: 332 kB / 0.6345 GB, free: 10.5 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 (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.003788/0.6071, allocations: 1.791 MB / 0.6363 GB, free: 8.691 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006577/0.6077, allocations: 308 kB / 0.6366 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004917/0.6127, allocations: 2.367 MB / 0.6389 GB, free: 6.008 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.709e-05/0.6127, allocations: 22.2 kB / 0.6389 GB, free: 5.988 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.6127, allocations: 7.938 kB / 0.6389 GB, free: 5.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/0.6128, allocations: 7.969 kB / 0.6389 GB, free: 5.973 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01298/0.6258, allocations: 5.917 MB / 0.6447 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/0.6258, allocations: 0 / 0.6447 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008958/0.6267, allocations: 179.7 kB / 0.6449 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002151/0.6289, allocations: 0.7152 MB / 0.6456 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/0.629, allocations: 19.98 kB / 0.6456 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006241/0.6353, allocations: 4.464 MB / 0.6499 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.321e-06/0.6353, allocations: 4.031 kB / 0.6499 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007806/0.6431, allocations: 4.324 MB / 0.6542 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/0.6442, allocations: 369 kB / 0.6545 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007583/0.645, allocations: 24 kB / 0.6545 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/0.6465, allocations: 67.91 kB / 0.6546 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000227/0.6467, allocations: 68.5 kB / 0.6547 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.6468, allocations: 39.98 kB / 0.6547 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004284/0.6511, allocations: 2.323 MB / 0.657 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.3e-07/0.6511, allocations: 0 / 0.657 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004945/0.6561, allocations: 0.8125 MB / 0.6578 GB, free: 2.453 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.0004818/0.6566, allocations: 163.8 kB / 0.6579 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006672/0.6633, allocations: 4.035 MB / 0.6619 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.6633, allocations: 1.438 kB / 0.6619 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.6649, allocations: 1.115 MB / 0.663 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/0.6677, allocations: 374 kB / 0.6633 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0154/0.6831, allocations: 9.316 MB / 0.6724 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003456/0.6866, allocations: 2.788 MB / 0.6751 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/0.6877, allocations: 251.3 kB / 0.6754 GB, free: 368 kB / 0.5137 GB Notification: Performance of SimCode: time 1.282e-06/0.6878, allocations: 4 kB / 0.6754 GB, free: 364 kB / 0.5137 GB Notification: Performance of Templates: time 0.2945/0.9823, allocations: 63.94 MB / 0.7378 GB, free: 184.2 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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