Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.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.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00155/0.00155, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 226.5 MB / 244.1 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007844/0.0007844, allocations: 103.2 kB / 296.1 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3208/0.3208, allocations: 44.82 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002719/0.0002722, allocations: 8 kB / 465.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2983, allocations: 62.96 MB / 0.5165 GB, free: 37.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1555/0.4539, allocations: 107.3 MB / 0.6213 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001865/0.4541, allocations: 83.95 kB / 0.6213 GB, free: 13.97 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08469/0.5388, allocations: 34.78 MB / 0.6553 GB, free: 11.05 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5388, allocations: 3.938 kB / 0.6553 GB, free: 11.05 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.468e-05/0.5389, allocations: 28 kB / 0.6553 GB, free: 11.02 MB / 474.7 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.003258/0.5422, allocations: 1.807 MB / 0.6571 GB, free: 9.156 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.5422, allocations: 12.03 kB / 0.6571 GB, free: 9.145 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.5439, allocations: 374.4 kB / 0.6575 GB, free: 8.777 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002787/0.5467, allocations: 1.633 MB / 0.6591 GB, free: 7.098 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-05/0.5468, allocations: 115.3 kB / 0.6592 GB, free: 6.984 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002236/0.547, allocations: 144.4 kB / 0.6593 GB, free: 6.844 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005068/0.5521, allocations: 2.993 MB / 0.6622 GB, free: 3.621 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.102e-05/0.5521, allocations: 20.03 kB / 0.6623 GB, free: 3.602 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/0.5523, allocations: 63.92 kB / 0.6623 GB, free: 3.539 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004107/0.5527, allocations: 286.1 kB / 0.6626 GB, free: 3.258 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004226/0.557, allocations: 2.155 MB / 0.6647 GB, free: 1.094 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01157/0.5685, allocations: 11.54 MB / 0.676 GB, free: 5.242 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003516/0.5721, allocations: 1.208 MB / 0.6772 GB, free: 4.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000527/0.5726, allocations: 397.2 kB / 0.6775 GB, free: 3.629 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003373/0.576, allocations: 2.989 MB / 0.6804 GB, free: 396 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.5761, allocations: 46.98 kB / 0.6805 GB, free: 340 kB / 490.7 MB Notification: Performance of pre-optimization done (n=51): time 2.805e-06/0.5761, allocations: 3.938 kB / 0.6805 GB, free: 336 kB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.2199/0.796, allocations: 3.722 MB / 0.6841 GB, free: 114.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.7961, allocations: 83.14 kB / 0.6842 GB, free: 114.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.7974, allocations: 1.201 MB / 0.6854 GB, free: 114.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.7975, allocations: 37.52 kB / 0.6854 GB, free: 114.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004252/0.7979, allocations: 0.9468 MB / 0.6863 GB, free: 114 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.798, allocations: 216.3 kB / 0.6866 GB, free: 113.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/0.7981, allocations: 33.75 kB / 0.6866 GB, free: 113.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.448e-05/0.7982, allocations: 367.2 kB / 0.6869 GB, free: 113.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005155/0.7987, allocations: 407.9 kB / 0.6873 GB, free: 113.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008372/0.7995, allocations: 1.253 MB / 0.6885 GB, free: 112.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/0.801, allocations: 1.799 MB / 0.6903 GB, free: 111.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.8011, allocations: 8.25 kB / 0.6903 GB, free: 111.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.002188/0.8033, allocations: 1.713 MB / 0.692 GB, free: 111.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.8033, allocations: 16.91 kB / 0.692 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.183e-05/0.8034, allocations: 33.84 kB / 0.692 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002234/0.8036, allocations: 87.55 kB / 0.6921 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009857/0.8046, allocations: 363.3 kB / 0.6925 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.8058, allocations: 1.695 MB / 0.6941 GB, free: 109.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008401/0.8067, allocations: 68.34 kB / 0.6942 GB, free: 109.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.833e-05/0.8068, allocations: 84.53 kB / 0.6943 GB, free: 109.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * 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 (192): * Single equations (assignments): 191 * 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.0008688/0.8077, allocations: 0.6453 MB / 0.6949 GB, free: 109.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.8078, allocations: 119.5 kB / 0.695 GB, free: 109.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009923/0.8088, allocations: 0.7021 MB / 0.6957 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.8088, allocations: 14.12 kB / 0.6957 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.8088, allocations: 0 / 0.6957 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.8088, allocations: 3.375 kB / 0.6957 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002742/0.8116, allocations: 2.262 MB / 0.6979 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.8116, allocations: 9.594 kB / 0.6979 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003481/0.8119, allocations: 102.5 kB / 0.698 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000158/0.8121, allocations: 59.19 kB / 0.6981 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.8122, allocations: 16.28 kB / 0.6981 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/0.8133, allocations: 1.749 MB / 0.6998 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.8133, allocations: 6.312 kB / 0.6998 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.8145, allocations: 1.092 MB / 0.7009 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.8147, allocations: 190 kB / 0.7011 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.544e-05/0.8148, allocations: 16.53 kB / 0.7011 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/0.8152, allocations: 30.59 kB / 0.7011 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.492e-05/0.8153, allocations: 51.34 kB / 0.7012 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.8153, allocations: 17.34 kB / 0.7012 GB, free: 106.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008494/0.8162, allocations: 0.7576 MB / 0.7019 GB, free: 106.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.8162, allocations: 3.562 kB / 0.7019 GB, free: 106.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001338/0.8175, allocations: 306 kB / 0.7022 GB, free: 106.3 MB / 490.7 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.0002227/0.8178, allocations: 142.8 kB / 0.7023 GB, free: 106.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001518/0.8193, allocations: 1.078 MB / 0.7034 GB, free: 105.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.8193, allocations: 0 / 0.7034 GB, free: 105.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004486/0.8198, allocations: 403.3 kB / 0.7038 GB, free: 105.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.8212, allocations: 180.8 kB / 0.704 GB, free: 105.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004647/0.8258, allocations: 3.537 MB / 0.7074 GB, free: 103.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/0.8269, allocations: 1.449 MB / 0.7088 GB, free: 102.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/0.8272, allocations: 91.34 kB / 0.7089 GB, free: 102.6 MB / 490.7 MB Notification: Performance of SimCode: time 9.02e-07/0.8272, allocations: 4 kB / 0.7089 GB, free: 102.6 MB / 490.7 MB Notification: Performance of Templates: time 0.03681/0.864, allocations: 22.16 MB / 0.7306 GB, free: 100.7 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches