Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 199.6 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 226.5 MB / 243.1 MB, free: 14.32 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007427/0.0007427, allocations: 101.2 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1724/0.1724, allocations: 44.85 MB / 392 MB, free: 9.336 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002265/0.0002266, allocations: 8 kB / 464.7 MB, free: 49.79 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08606/0.0863, allocations: 62.96 MB / 0.5153 GB, free: 2.797 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.1834/0.2698, allocations: 26.81 MB / 0.5415 GB, free: 10.9 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01342/0.2832, allocations: 6.352 MB / 0.5477 GB, free: 6.641 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004729/0.288, allocations: 117.4 kB / 0.5478 GB, free: 6.625 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003569/0.2916, allocations: 1.287 MB / 0.5491 GB, free: 6.172 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01191/0.3035, allocations: 3.973 MB / 0.553 GB, free: 4.129 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002062/0.3056, allocations: 364.7 kB / 0.5533 GB, free: 3.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005217/0.3108, allocations: 3.884 MB / 0.5571 GB, free: 1.715 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003455/0.3143, allocations: 2.249 MB / 0.5593 GB, free: 324 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001917/0.3162, allocations: 1.027 MB / 0.5603 GB, free: 15.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002086/0.3183, allocations: 1.698 MB / 0.562 GB, free: 13.8 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004457/0.3188, allocations: 132 kB / 0.5621 GB, free: 13.67 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.3203, allocations: 0.6319 MB / 0.5627 GB, free: 13.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001355/0.3217, allocations: 1.465 MB / 0.5641 GB, free: 11.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008357/0.3225, allocations: 0.7375 MB / 0.5648 GB, free: 10.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00444/0.327, allocations: 4.631 MB / 0.5694 GB, free: 6.184 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.327, allocations: 0 / 0.5694 GB, free: 6.184 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.327, allocations: 3.938 kB / 0.5694 GB, free: 6.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.00011/0.3271, allocations: 0 / 0.5694 GB, free: 6.18 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.005382/0.3325, allocations: 3.367 MB / 0.5727 GB, free: 2.746 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.3326, allocations: 8.031 kB / 0.5727 GB, free: 2.738 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009683/0.3423, allocations: 3.165 MB / 0.5758 GB, free: 15.56 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003838/0.3461, allocations: 1.865 MB / 0.5776 GB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.3463, allocations: 188.7 kB / 0.5778 GB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006266/0.347, allocations: 251.7 kB / 0.578 GB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0142/0.3612, allocations: 10.17 MB / 0.5879 GB, free: 2.613 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.202e-05/0.3613, allocations: 19.81 kB / 0.588 GB, free: 2.594 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003385/0.3617, allocations: 119.8 kB / 0.5881 GB, free: 2.477 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003624/0.3653, allocations: 2.471 MB / 0.5905 GB, free: 4 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0163/0.3816, allocations: 9.314 MB / 0.5996 GB, free: 6.676 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04032/0.422, allocations: 31.68 MB / 0.6305 GB, free: 6.176 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005315/0.4273, allocations: 3.342 MB / 0.6338 GB, free: 2.609 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.4288, allocations: 1.06 MB / 0.6348 GB, free: 1.547 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/0.4299, allocations: 1.307 MB / 0.6361 GB, free: 20 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/0.43, allocations: 55.88 kB / 0.6361 GB, free: 15.96 MB / 458.7 MB Notification: Performance of pre-optimization done (n=185): time 5.26e-06/0.43, allocations: 0 / 0.6361 GB, free: 15.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=191): time 0.01783/0.4478, allocations: 9.076 MB / 0.645 GB, free: 6.781 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.4479, allocations: 64.72 kB / 0.6451 GB, free: 6.703 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003681/0.4516, allocations: 2.595 MB / 0.6476 GB, free: 4.086 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.733e-05/0.4517, allocations: 49.69 kB / 0.6476 GB, free: 4.031 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001724/0.4534, allocations: 2.67 MB / 0.6503 GB, free: 1.32 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005985/0.454, allocations: 0.7054 MB / 0.6509 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.4542, allocations: 96 kB / 0.651 GB, free: 0.5117 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003417/0.4546, allocations: 0.5089 MB / 0.6515 GB, free: 16 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002275/0.4569, allocations: 1.54 MB / 0.653 GB, free: 14.45 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003819/0.4607, allocations: 4.364 MB / 0.6573 GB, free: 8.68 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003323/0.464, allocations: 2.605 MB / 0.6598 GB, free: 6.066 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.797e-05/0.4641, allocations: 35.95 kB / 0.6599 GB, free: 6.031 MB / 474.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.008285/0.4724, allocations: 5.804 MB / 0.6655 GB, free: 228 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.336e-05/0.4725, allocations: 52.03 kB / 0.6656 GB, free: 176 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001002/0.4726, allocations: 100 kB / 0.6657 GB, free: 76 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003112/0.4729, allocations: 184.9 kB / 0.6659 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002779/0.4757, allocations: 1.072 MB / 0.6669 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.477, allocations: 1.678 MB / 0.6685 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002192/0.4793, allocations: 216.2 kB / 0.6688 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003509/0.4796, allocations: 295.9 kB / 0.669 GB, free: 12.51 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (596): * Single equations (assignments): 589 * Array equations: 6 * 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.002758/0.4824, allocations: 1.993 MB / 0.671 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003471/0.4827, allocations: 244.8 kB / 0.6712 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003542/0.4863, allocations: 2.526 MB / 0.6737 GB, free: 7.707 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.853e-05/0.4863, allocations: 24 kB / 0.6737 GB, free: 7.684 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4863, allocations: 0 / 0.6737 GB, free: 7.684 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.4864, allocations: 7.969 kB / 0.6737 GB, free: 7.676 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/0.4976, allocations: 7.946 MB / 0.6815 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/0.4977, allocations: 8 kB / 0.6815 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009135/0.4986, allocations: 247.6 kB / 0.6817 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001413/0.4988, allocations: 56.83 kB / 0.6818 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.753e-05/0.4989, allocations: 39.98 kB / 0.6818 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/0.5, allocations: 1.508 MB / 0.6833 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.978e-06/0.5, allocations: 15.94 kB / 0.6833 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004559/0.5046, allocations: 4.001 MB / 0.6872 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004816/0.5051, allocations: 297.9 kB / 0.6875 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002753/0.5054, allocations: 40 kB / 0.6875 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000728/0.5061, allocations: 55.94 kB / 0.6876 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.5063, allocations: 124.7 kB / 0.6877 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.5064, allocations: 63.98 kB / 0.6878 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002054/0.5085, allocations: 1.572 MB / 0.6893 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5085, allocations: 0 / 0.6893 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002979/0.5114, allocations: 0.8007 MB / 0.6901 GB, free: 6.398 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (139): * Single equations (assignments): 132 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.0003584/0.5118, allocations: 182.8 kB / 0.6902 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005069/0.5169, allocations: 3.819 MB / 0.694 GB, free: 2.406 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.5169, allocations: 8.25 kB / 0.694 GB, free: 2.398 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001421/0.5183, allocations: 1.229 MB / 0.6952 GB, free: 1.156 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.5198, allocations: 330.9 kB / 0.6955 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/0.534, allocations: 10.64 MB / 0.7059 GB, free: 6.035 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003613/0.5377, allocations: 3.142 MB / 0.709 GB, free: 2.867 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006944/0.5384, allocations: 223.4 kB / 0.7092 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of SimCode: time 8.31e-07/0.5384, allocations: 0 / 0.7092 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of Templates: time 0.2587/0.7971, allocations: 64.39 MB / 0.7721 GB, free: 123.4 MB / 0.5105 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches