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.0009165/0.0009165, allocations: 94.75 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009801/0.0009802, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2384/0.2384, allocations: 45.92 MB / 344 MB, free: 12.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002779/0.0002779, allocations: 8 kB / 417.9 MB, free: 20.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.144, allocations: 63.46 MB / 481.4 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.02241/0.1664, allocations: 22.33 MB / 0.4919 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0156/0.1821, allocations: 6.194 MB / 0.498 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005233/0.1874, allocations: 103.8 kB / 0.4981 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004681/0.1921, allocations: 1.069 MB / 0.4991 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01549/0.2076, allocations: 3.366 MB / 0.5024 GB, free: 4.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002838/0.2105, allocations: 431.3 kB / 0.5028 GB, free: 3.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002762/0.2133, allocations: 1.009 MB / 0.5038 GB, free: 2.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002775/0.2161, allocations: 1.954 MB / 0.5057 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007257/0.2168, allocations: 450.5 kB / 0.5061 GB, free: 480 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3231/0.54, allocations: 0.5639 MB / 0.5067 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004621/0.5405, allocations: 56.8 kB / 0.5067 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.5417, allocations: 405.5 kB / 0.5071 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007873/0.5425, allocations: 0.5801 MB / 0.5077 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004122/0.5429, allocations: 316 kB / 0.508 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002777/0.5457, allocations: 1.89 MB / 0.5098 GB, free: 12.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5457, allocations: 1.75 kB / 0.5098 GB, free: 12.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5458, allocations: 0 / 0.5098 GB, free: 12.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.706e-05/0.5458, allocations: 0.875 kB / 0.5098 GB, free: 12.2 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.003834/0.5497, allocations: 1.718 MB / 0.5115 GB, free: 11.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.5497, allocations: 9.656 kB / 0.5115 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/0.5511, allocations: 286.4 kB / 0.5118 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/0.5534, allocations: 1.138 MB / 0.5129 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.951e-05/0.5535, allocations: 93.42 kB / 0.513 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002388/0.5538, allocations: 124.2 kB / 0.5131 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006933/0.5607, allocations: 3.064 MB / 0.5161 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.391e-05/0.5608, allocations: 14.41 kB / 0.5161 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001678/0.561, allocations: 53.7 kB / 0.5162 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001077/0.5621, allocations: 433.9 kB / 0.5166 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007564/0.5697, allocations: 2.244 MB / 0.5188 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01599/0.5857, allocations: 10.8 MB / 0.5293 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004294/0.5901, allocations: 1.253 MB / 0.5305 GB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004545/0.5946, allocations: 3.125 MB / 0.5336 GB, free: 3.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.5947, allocations: 43.19 kB / 0.5336 GB, free: 3.137 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 3.336e-06/0.5947, allocations: 0 / 0.5336 GB, free: 3.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.0117/0.6064, allocations: 3.807 MB / 0.5373 GB, free: 1.633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.6065, allocations: 83.33 kB / 0.5374 GB, free: 1.539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.6082, allocations: 1.301 MB / 0.5387 GB, free: 1.156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.899e-05/0.6082, allocations: 35.27 kB / 0.5387 GB, free: 1.125 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004928/0.6087, allocations: 0.9373 MB / 0.5396 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.6089, allocations: 218.6 kB / 0.5399 GB, free: 380 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.6089, allocations: 28.94 kB / 0.5399 GB, free: 380 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.609, allocations: 376.1 kB / 0.5402 GB, free: 44 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006732/0.6097, allocations: 418.2 kB / 0.5406 GB, free: 0 / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.6109, allocations: 1.24 MB / 0.5419 GB, free: 14.81 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008449/0.6118, allocations: 0.673 MB / 0.5425 GB, free: 14.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/0.6118, allocations: 10.78 kB / 0.5425 GB, free: 14.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002429/0.6143, allocations: 1.711 MB / 0.5442 GB, free: 14.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.6143, allocations: 17.31 kB / 0.5442 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.959e-05/0.6143, allocations: 29.09 kB / 0.5442 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002041/0.6145, allocations: 91.08 kB / 0.5443 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.6156, allocations: 360.1 kB / 0.5447 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.6172, allocations: 1.71 MB / 0.5463 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.6183, allocations: 79.47 kB / 0.5464 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.226e-05/0.6184, allocations: 83.47 kB / 0.5465 GB, free: 12.88 MB / 398.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 (190): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001131/0.6195, allocations: 0.6362 MB / 0.5471 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.6197, allocations: 119.5 kB / 0.5472 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.6199, allocations: 136.8 kB / 0.5474 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.6199, allocations: 6.562 kB / 0.5474 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/0.62, allocations: 8 kB / 0.5474 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.62, allocations: 7.516 kB / 0.5474 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003815/0.6238, allocations: 2.25 MB / 0.5496 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.6238, allocations: 4 kB / 0.5496 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003755/0.6242, allocations: 102.9 kB / 0.5497 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001878/0.6244, allocations: 71.59 kB / 0.5497 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.6244, allocations: 16.75 kB / 0.5498 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/0.6261, allocations: 1.77 MB / 0.5515 GB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.6261, allocations: 4 kB / 0.5515 GB, free: 9.602 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.628, allocations: 1.321 MB / 0.5528 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004582/0.6285, allocations: 187 kB / 0.553 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.6286, allocations: 18.73 kB / 0.553 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/0.629, allocations: 31.17 kB / 0.553 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.978e-05/0.6291, allocations: 45.12 kB / 0.5531 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/0.6291, allocations: 19.44 kB / 0.5531 GB, free: 8.141 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001424/0.6305, allocations: 0.845 MB / 0.5539 GB, free: 7.504 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.6305, allocations: 0 / 0.5539 GB, free: 7.504 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001869/0.6324, allocations: 311.3 kB / 0.5542 GB, free: 7.23 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003279/0.6328, allocations: 139.6 kB / 0.5543 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001837/0.6346, allocations: 1.089 MB / 0.5554 GB, free: 6.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.6346, allocations: 0 / 0.5554 GB, free: 6.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005674/0.6352, allocations: 418.9 kB / 0.5558 GB, free: 5.992 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000925/0.6361, allocations: 168.6 kB / 0.5559 GB, free: 5.887 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005598/0.6417, allocations: 3.388 MB / 0.5593 GB, free: 2.707 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/0.6432, allocations: 1.486 MB / 0.5607 GB, free: 1.312 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001205/0.6444, allocations: 409.7 kB / 0.5611 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.6446, allocations: 77.94 kB / 0.5612 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6446, allocations: 0 / 0.5612 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of Templates: time 0.02532/0.6699, allocations: 10.15 MB / 0.5711 GB, free: 6.82 MB / 414.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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches