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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001574/0.001574, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002158/0.002158, allocations: 213.3 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.578/1.578, allocations: 230.3 MB / 258 MB, free: 8.242 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2568/0.2568, allocations: 46.88 MB / 361.3 MB, free: 4.453 MB / 286.1 MB " [Timeout remaining time 179] 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=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003459/0.003459, allocations: 79.81 kB / 0.4971 GB, free: 7.586 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4976/0.5011, allocations: 66.02 MB / 0.5615 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01172/0.5128, allocations: 8.724 MB / 0.5701 GB, free: 11.87 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009781/0.5226, allocations: 3.51 MB / 0.5735 GB, free: 8.344 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002042/0.5246, allocations: 51.75 kB / 0.5735 GB, free: 8.293 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003336/0.5279, allocations: 1.378 MB / 0.5749 GB, free: 6.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003208/0.5311, allocations: 0.9301 MB / 0.5758 GB, free: 5.977 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.5327, allocations: 0.5263 MB / 0.5763 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003338/0.5361, allocations: 1.73 MB / 0.578 GB, free: 3.715 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002099/0.5382, allocations: 1.163 MB / 0.5791 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001522/0.5397, allocations: 0.666 MB / 0.5798 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001944/0.5416, allocations: 0.9541 MB / 0.5807 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005226/0.5422, allocations: 136 kB / 0.5808 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.5437, allocations: 0.589 MB / 0.5814 GB, free: 168 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001155/0.5448, allocations: 0.7402 MB / 0.5821 GB, free: 15.42 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00179/0.5466, allocations: 0.8275 MB / 0.5829 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003891/0.5505, allocations: 2.482 MB / 0.5854 GB, free: 12.1 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.5505, allocations: 0 / 0.5854 GB, free: 12.1 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5505, allocations: 0 / 0.5854 GB, free: 12.1 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001019/0.5506, allocations: 4 kB / 0.5854 GB, free: 12.1 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.005059/0.5557, allocations: 1.963 MB / 0.5873 GB, free: 10.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.5557, allocations: 8.031 kB / 0.5873 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/0.5569, allocations: 279.5 kB / 0.5876 GB, free: 9.812 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/0.559, allocations: 0.9957 MB / 0.5885 GB, free: 8.789 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.5591, allocations: 102.6 kB / 0.5886 GB, free: 8.688 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002048/0.5593, allocations: 127.9 kB / 0.5888 GB, free: 8.562 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005962/0.5653, allocations: 3.003 MB / 0.5917 GB, free: 5.367 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.389e-05/0.5654, allocations: 15.92 kB / 0.5917 GB, free: 5.352 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002014/0.5656, allocations: 55.97 kB / 0.5918 GB, free: 5.297 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006803/0.5662, allocations: 434 kB / 0.5922 GB, free: 4.871 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005177/0.5714, allocations: 2.175 MB / 0.5943 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01816/0.5896, allocations: 10.65 MB / 0.6047 GB, free: 7.758 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004413/0.594, allocations: 1.2 MB / 0.6059 GB, free: 6.547 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007109/0.5947, allocations: 371.1 kB / 0.6062 GB, free: 6.176 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004388/0.5991, allocations: 2.097 MB / 0.6083 GB, free: 4.055 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/0.5991, allocations: 43 kB / 0.6083 GB, free: 4.004 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.134e-06/0.5991, allocations: 0 / 0.6083 GB, free: 4.004 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01268/0.6118, allocations: 3.59 MB / 0.6118 GB, free: 368 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.773e-05/0.6119, allocations: 85.61 kB / 0.6119 GB, free: 264 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/0.6139, allocations: 1.189 MB / 0.6131 GB, free: 15.05 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/0.614, allocations: 33.7 kB / 0.6131 GB, free: 15.01 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009293/0.6149, allocations: 0.9662 MB / 0.614 GB, free: 14.04 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002396/0.6152, allocations: 230.2 kB / 0.6143 GB, free: 13.81 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004624/0.6156, allocations: 319.3 kB / 0.6146 GB, free: 13.49 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.6158, allocations: 301.1 kB / 0.6148 GB, free: 13.19 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007543/0.6165, allocations: 427.7 kB / 0.6152 GB, free: 12.77 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/0.618, allocations: 1.262 MB / 0.6165 GB, free: 11.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002451/0.6205, allocations: 1.814 MB / 0.6183 GB, free: 8.875 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.3e-05/0.6205, allocations: 8 kB / 0.6183 GB, free: 8.867 MB / 462.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003205/0.6237, allocations: 1.742 MB / 0.62 GB, free: 7.113 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/0.6238, allocations: 16 kB / 0.62 GB, free: 7.098 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.375e-05/0.6238, allocations: 32.84 kB / 0.62 GB, free: 7.066 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002626/0.6241, allocations: 88.81 kB / 0.6201 GB, free: 6.977 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.6252, allocations: 363.3 kB / 0.6204 GB, free: 6.621 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.6272, allocations: 1.769 MB / 0.6222 GB, free: 4.734 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.6283, allocations: 71.98 kB / 0.6222 GB, free: 4.664 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/0.6284, allocations: 84 kB / 0.6223 GB, free: 4.582 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.001117/0.6295, allocations: 0.6518 MB / 0.623 GB, free: 3.922 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002498/0.6298, allocations: 115.2 kB / 0.6231 GB, free: 3.809 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003308/0.6301, allocations: 135.3 kB / 0.6232 GB, free: 3.672 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.6301, allocations: 8 kB / 0.6232 GB, free: 3.664 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.6301, allocations: 0 / 0.6232 GB, free: 3.664 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6301, allocations: 0 / 0.6232 GB, free: 3.664 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004357/0.6345, allocations: 2.207 MB / 0.6254 GB, free: 1.359 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.6345, allocations: 4 kB / 0.6254 GB, free: 1.355 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004061/0.6349, allocations: 96.39 kB / 0.6255 GB, free: 1.262 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002105/0.6351, allocations: 72.75 kB / 0.6255 GB, free: 1.188 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.992e-05/0.6352, allocations: 16 kB / 0.6255 GB, free: 1.172 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/0.6371, allocations: 1.837 MB / 0.6273 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.918e-06/0.6371, allocations: 11.94 kB / 0.6273 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.6389, allocations: 1.103 MB / 0.6284 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003575/0.6392, allocations: 107.3 kB / 0.6285 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.6394, allocations: 19.98 kB / 0.6285 GB, free: 13.92 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004299/0.6398, allocations: 23.98 kB / 0.6286 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.562e-05/0.6399, allocations: 51.8 kB / 0.6286 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.6399, allocations: 20 kB / 0.6286 GB, free: 13.82 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001277/0.6412, allocations: 0.7554 MB / 0.6294 GB, free: 13.06 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6412, allocations: 4 kB / 0.6294 GB, free: 13.06 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001687/0.6429, allocations: 295.9 kB / 0.6297 GB, free: 12.77 MB / 478.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.0002985/0.6432, allocations: 135 kB / 0.6298 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002231/0.6454, allocations: 1.092 MB / 0.6308 GB, free: 11.53 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.6454, allocations: 0 / 0.6308 GB, free: 11.53 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006529/0.6461, allocations: 396.2 kB / 0.6312 GB, free: 11.13 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.6472, allocations: 183 kB / 0.6314 GB, free: 10.95 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005989/0.6532, allocations: 2.883 MB / 0.6342 GB, free: 7.98 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001881/0.655, allocations: 1.447 MB / 0.6356 GB, free: 6.504 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001151/0.6562, allocations: 409.6 kB / 0.636 GB, free: 6.102 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/0.6564, allocations: 83.42 kB / 0.6361 GB, free: 6.02 MB / 478.1 MB Notification: Performance of SimCode: time 1.954e-06/0.6565, allocations: 0 / 0.6361 GB, free: 6.02 MB / 478.1 MB Notification: Performance of Templates: time 0.02772/0.6842, allocations: 11.77 MB / 0.6476 GB, free: 10.3 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.119642089121044]