Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.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.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001061/0.001061, allocations: 116.4 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001076/0.001076, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2381/0.2381, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 67.88 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4582/0.4596, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.0103/0.4699, allocations: 8.646 MB / 0.5394 GB, free: 6.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008486/0.4784, allocations: 3.475 MB / 0.5428 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001878/0.4803, allocations: 46.28 kB / 0.5429 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002866/0.4833, allocations: 1.356 MB / 0.5442 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002895/0.4862, allocations: 0.9066 MB / 0.5451 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.4875, allocations: 0.5203 MB / 0.5456 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002704/0.4902, allocations: 1.731 MB / 0.5473 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.492, allocations: 1.652 MB / 0.5489 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.4931, allocations: 0.6581 MB / 0.5495 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.4942, allocations: 0.8763 MB / 0.5504 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002029/0.4944, allocations: 144 kB / 0.5505 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.4955, allocations: 0.5695 MB / 0.5511 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000607/0.4961, allocations: 0.7247 MB / 0.5518 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007683/0.4969, allocations: 0.8237 MB / 0.5526 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003107/0.5, allocations: 2.486 MB / 0.555 GB, free: 8.996 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.5, allocations: 0 / 0.555 GB, free: 8.996 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5, allocations: 0 / 0.555 GB, free: 8.996 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.092e-05/0.5001, allocations: 0 / 0.555 GB, free: 8.996 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.003801/0.5039, allocations: 2.038 MB / 0.557 GB, free: 6.898 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.504, allocations: 8.031 kB / 0.557 GB, free: 6.891 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.505, allocations: 275.6 kB / 0.5573 GB, free: 6.621 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001986/0.507, allocations: 1.064 MB / 0.5583 GB, free: 5.512 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.385e-05/0.5071, allocations: 98.58 kB / 0.5584 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/0.5073, allocations: 127.9 kB / 0.5585 GB, free: 5.289 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004952/0.5123, allocations: 3 MB / 0.5615 GB, free: 2.094 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.049e-05/0.5123, allocations: 15.88 kB / 0.5615 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.5125, allocations: 59.97 kB / 0.5615 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005703/0.513, allocations: 430 kB / 0.562 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004475/0.5175, allocations: 2.179 MB / 0.5641 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01166/0.5292, allocations: 10.72 MB / 0.5745 GB, free: 4.422 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003728/0.533, allocations: 1.243 MB / 0.5758 GB, free: 3.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005498/0.5335, allocations: 407.3 kB / 0.5761 GB, free: 2.758 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003615/0.5372, allocations: 3.084 MB / 0.5792 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.5372, allocations: 39 kB / 0.5792 GB, free: 15.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.505e-06/0.5372, allocations: 4 kB / 0.5792 GB, free: 15.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01129/0.5485, allocations: 3.821 MB / 0.5829 GB, free: 11.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.5486, allocations: 85.67 kB / 0.583 GB, free: 11.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.55, allocations: 1.174 MB / 0.5842 GB, free: 10.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.5501, allocations: 37.7 kB / 0.5842 GB, free: 10.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006352/0.5507, allocations: 0.9779 MB / 0.5851 GB, free: 9.098 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.5509, allocations: 226.2 kB / 0.5854 GB, free: 8.875 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003631/0.5513, allocations: 315.3 kB / 0.5857 GB, free: 8.559 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5514, allocations: 301.1 kB / 0.586 GB, free: 8.262 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006087/0.552, allocations: 423.7 kB / 0.5864 GB, free: 7.848 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.5532, allocations: 1.266 MB / 0.5876 GB, free: 6.172 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001917/0.5551, allocations: 1.814 MB / 0.5894 GB, free: 3.945 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/0.5551, allocations: 12 kB / 0.5894 GB, free: 3.934 MB / 446.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002543/0.5577, allocations: 1.746 MB / 0.5911 GB, free: 2.176 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.5577, allocations: 16 kB / 0.5911 GB, free: 2.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.028e-05/0.5577, allocations: 28 kB / 0.5911 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002164/0.558, allocations: 88.83 kB / 0.5912 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.559, allocations: 367.9 kB / 0.5916 GB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.5606, allocations: 1.869 MB / 0.5934 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009418/0.5616, allocations: 72.12 kB / 0.5935 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.5617, allocations: 88 kB / 0.5935 GB, free: 15.52 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 193 * Array equations: 0 * 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.001084/0.5628, allocations: 0.6552 MB / 0.5942 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/0.563, allocations: 119.3 kB / 0.5943 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002959/0.5633, allocations: 131.3 kB / 0.5944 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.5633, allocations: 8 kB / 0.5944 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.5633, allocations: 0 / 0.5944 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.5633, allocations: 3.984 kB / 0.5944 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004005/0.5674, allocations: 2.243 MB / 0.5966 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.5674, allocations: 4 kB / 0.5966 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003835/0.5678, allocations: 91.89 kB / 0.5967 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002467/0.568, allocations: 77.19 kB / 0.5968 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/0.5681, allocations: 16 kB / 0.5968 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001706/0.5698, allocations: 1.94 MB / 0.5987 GB, free: 9.977 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/0.5698, allocations: 7.938 kB / 0.5987 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.5714, allocations: 1.109 MB / 0.5998 GB, free: 8.797 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003104/0.5717, allocations: 184.3 kB / 0.6 GB, free: 8.598 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.5719, allocations: 20 kB / 0.6 GB, free: 8.578 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/0.5723, allocations: 31.97 kB / 0.6 GB, free: 8.547 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.047e-05/0.5724, allocations: 39.89 kB / 0.6 GB, free: 8.508 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/0.5724, allocations: 16 kB / 0.6001 GB, free: 8.492 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001149/0.5736, allocations: 0.7593 MB / 0.6008 GB, free: 7.727 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5736, allocations: 7.938 kB / 0.6008 GB, free: 7.719 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001731/0.5753, allocations: 299.9 kB / 0.6011 GB, free: 7.426 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003421/0.5757, allocations: 123.1 kB / 0.6012 GB, free: 7.293 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001936/0.5776, allocations: 1.128 MB / 0.6023 GB, free: 6.156 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.5776, allocations: 4 kB / 0.6023 GB, free: 6.152 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005485/0.5782, allocations: 400.1 kB / 0.6027 GB, free: 5.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009808/0.5792, allocations: 191 kB / 0.6029 GB, free: 5.562 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00605/0.5852, allocations: 2.86 MB / 0.6057 GB, free: 2.621 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002184/0.5875, allocations: 1.443 MB / 0.6071 GB, free: 1.145 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001418/0.5889, allocations: 413.5 kB / 0.6075 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003088/0.5892, allocations: 79.44 kB / 0.6076 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of SimCode: time 1.763e-06/0.5893, allocations: 0 / 0.6076 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of Templates: time 0.02224/0.6115, allocations: 10.73 MB / 0.618 GB, free: 5.996 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches