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.001507/0.001507, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001783/0.001783, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.649/1.649, allocations: 222.9 MB / 242.9 MB, free: 15.21 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.2073/0.2073, allocations: 44.18 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 71.8 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1123, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01185/0.1242, allocations: 10.24 MB / 480.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007853/0.1321, allocations: 3.802 MB / 484 MB, free: 272 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001894/0.1341, allocations: 59.81 kB / 484 MB, free: 212 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004139/0.1382, allocations: 1.943 MB / 486 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004743/0.1431, allocations: 1.661 MB / 487.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.1448, allocations: 0.6082 MB / 488.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004772/0.1496, allocations: 3.325 MB / 491.6 MB, free: 8.648 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003362/0.153, allocations: 2.584 MB / 494.2 MB, free: 6.012 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002317/0.1554, allocations: 1.238 MB / 495.4 MB, free: 4.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002639/0.158, allocations: 1.674 MB / 497.1 MB, free: 3.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007858/0.1588, allocations: 252 kB / 497.3 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00236/0.1612, allocations: 1.038 MB / 498.4 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001937/0.1632, allocations: 1.558 MB / 499.9 MB, free: 248 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002978/0.1662, allocations: 1.833 MB / 0.49 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007445/0.1736, allocations: 5.619 MB / 0.4955 GB, free: 8.762 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.1737, allocations: 0 / 0.4955 GB, free: 8.762 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1737, allocations: 0 / 0.4955 GB, free: 8.762 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002068/0.1739, allocations: 4 kB / 0.4955 GB, free: 8.758 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.008808/0.1828, allocations: 4.013 MB / 0.4994 GB, free: 4.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.1828, allocations: 8.031 kB / 0.4994 GB, free: 4.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00658/0.1894, allocations: 1.77 MB / 0.5011 GB, free: 2.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004121/0.1936, allocations: 1.924 MB / 0.503 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/0.1938, allocations: 189.2 kB / 0.5032 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008488/0.1946, allocations: 259.7 kB / 0.5034 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2144/0.409, allocations: 8.435 MB / 0.5117 GB, free: 42.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001196/0.4092, allocations: 32.16 kB / 0.5117 GB, free: 42.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003609/0.4096, allocations: 127.1 kB / 0.5118 GB, free: 42.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003215/0.4128, allocations: 1.707 MB / 0.5135 GB, free: 42.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01344/0.4262, allocations: 7.099 MB / 0.5204 GB, free: 40.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03117/0.4575, allocations: 34.15 MB / 0.5538 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006413/0.4639, allocations: 3.283 MB / 0.557 GB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/0.4655, allocations: 1.458 MB / 0.5584 GB, free: 3.219 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005802/0.4713, allocations: 4.373 MB / 0.5627 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.4714, allocations: 47.06 kB / 0.5627 GB, free: 14.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=121): time 5.239e-06/0.4714, allocations: 4 kB / 0.5627 GB, free: 14.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=129): time 0.03156/0.5029, allocations: 11.5 MB / 0.574 GB, free: 2.957 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.5031, allocations: 174.8 kB / 0.5741 GB, free: 2.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006617/0.5097, allocations: 3.721 MB / 0.5778 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003327/0.5101, allocations: 53.67 kB / 0.5778 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002299/0.5124, allocations: 2.744 MB / 0.5805 GB, free: 12.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008109/0.5133, allocations: 0.5209 MB / 0.581 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002335/0.5156, allocations: 1.083 MB / 0.5821 GB, free: 10.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.5157, allocations: 309.1 kB / 0.5823 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002774/0.5185, allocations: 1.701 MB / 0.584 GB, free: 8.559 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005357/0.5239, allocations: 5.131 MB / 0.589 GB, free: 1.699 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008589/0.5325, allocations: 7.419 MB / 0.5963 GB, free: 8.574 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001294/0.5327, allocations: 36 kB / 0.5963 GB, free: 8.539 MB / 430.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01372/0.5464, allocations: 6.717 MB / 0.6029 GB, free: 1.812 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001594/0.5466, allocations: 59.94 kB / 0.6029 GB, free: 1.754 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002131/0.5469, allocations: 128 kB / 0.603 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007937/0.5477, allocations: 316.7 kB / 0.6033 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004179/0.5519, allocations: 1.251 MB / 0.6046 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002832/0.5547, allocations: 2.497 MB / 0.607 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003991/0.5588, allocations: 287.6 kB / 0.6073 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001019/0.5598, allocations: 340 kB / 0.6076 GB, free: 12.81 MB / 446.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.00358/0.5634, allocations: 1.787 MB / 0.6093 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008747/0.5643, allocations: 308 kB / 0.6096 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005368/0.5697, allocations: 2.363 MB / 0.6119 GB, free: 8.328 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.219e-05/0.5698, allocations: 16 kB / 0.612 GB, free: 8.312 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.946e-05/0.5698, allocations: 7.984 kB / 0.612 GB, free: 8.305 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-05/0.5698, allocations: 3.984 kB / 0.612 GB, free: 8.301 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/0.5832, allocations: 5.929 MB / 0.6178 GB, free: 2.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-05/0.5832, allocations: 3.938 kB / 0.6178 GB, free: 2.305 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009124/0.5841, allocations: 175.7 kB / 0.6179 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002214/0.5864, allocations: 0.7186 MB / 0.6186 GB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001875/0.5866, allocations: 23.98 kB / 0.6187 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006267/0.5929, allocations: 4.804 MB / 0.6233 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.5929, allocations: 3.75 kB / 0.6234 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007244/0.6002, allocations: 4.324 MB / 0.6276 GB, free: 8.078 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/0.6013, allocations: 373 kB / 0.6279 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007103/0.602, allocations: 16 kB / 0.6279 GB, free: 7.676 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/0.6035, allocations: 75.83 kB / 0.628 GB, free: 7.602 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000237/0.6038, allocations: 68.5 kB / 0.6281 GB, free: 7.535 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.6039, allocations: 40 kB / 0.6281 GB, free: 7.496 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004347/0.6082, allocations: 2.323 MB / 0.6304 GB, free: 5.188 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.42e-07/0.6083, allocations: 0 / 0.6304 GB, free: 5.188 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005008/0.6133, allocations: 0.8215 MB / 0.6312 GB, free: 4.371 MB / 462.1 MB 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.0005648/0.6139, allocations: 148.5 kB / 0.6313 GB, free: 4.223 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007917/0.6218, allocations: 4.419 MB / 0.6356 GB, free: 15.83 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.6219, allocations: 0 / 0.6356 GB, free: 15.83 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001836/0.6237, allocations: 1.115 MB / 0.6367 GB, free: 14.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003305/0.627, allocations: 388.9 kB / 0.6371 GB, free: 14.32 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01578/0.6428, allocations: 7.744 MB / 0.6447 GB, free: 6.535 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003348/0.6462, allocations: 2.781 MB / 0.6474 GB, free: 3.73 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009069/0.6472, allocations: 247.4 kB / 0.6476 GB, free: 3.492 MB / 478.1 MB Notification: Performance of SimCode: time 8.91e-07/0.6472, allocations: 3.938 kB / 0.6476 GB, free: 3.488 MB / 478.1 MB Notification: Performance of Templates: time 0.2935/0.9407, allocations: 63.94 MB / 0.7101 GB, free: 169.3 MB / 0.5137 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