Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001516/0.001515, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 85.7 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3057/0.3057, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.796e-05/2.791e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3959, allocations: 58.86 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1918/0.5878, allocations: 103.9 MB / 0.5674 GB, free: 11.34 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/0.5882, allocations: 75.95 kB / 0.5675 GB, free: 11.27 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1549/0.743, allocations: 34.01 MB / 0.6007 GB, free: 9.105 MB / 443.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.7431, allocations: 4 kB / 0.6007 GB, free: 9.102 MB / 443.1 MB Notification: Performance of Transformations before backend: time 0.0001125/0.7432, allocations: 32 kB / 0.6007 GB, free: 9.07 MB / 443.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.005615/0.7489, allocations: 1.686 MB / 0.6023 GB, free: 7.332 MB / 443.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.7489, allocations: 8.031 kB / 0.6024 GB, free: 7.324 MB / 443.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003469/0.7524, allocations: 409.3 kB / 0.6027 GB, free: 6.922 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01216/0.7646, allocations: 2.936 MB / 0.6056 GB, free: 3.938 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.295e-05/0.7648, allocations: 48 kB / 0.6057 GB, free: 3.891 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003645/0.7651, allocations: 87.98 kB / 0.6057 GB, free: 3.805 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005006/0.7702, allocations: 1.795 MB / 0.6075 GB, free: 2.008 MB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006319/0.7765, allocations: 2.528 MB / 0.61 GB, free: 15.26 MB / 459.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.79e-05/0.7767, allocations: 15.84 kB / 0.61 GB, free: 15.24 MB / 459.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001998/0.7769, allocations: 7.938 kB / 0.61 GB, free: 15.23 MB / 459.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008243/0.7777, allocations: 286.2 kB / 0.6103 GB, free: 14.95 MB / 459.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02161/0.7994, allocations: 12 MB / 0.622 GB, free: 2.516 MB / 459.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.8006, allocations: 0.5373 MB / 0.6225 GB, free: 1.961 MB / 459.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007144/0.8014, allocations: 326.9 kB / 0.6228 GB, free: 1.637 MB / 459.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009414/0.8023, allocations: 0.6511 MB / 0.6235 GB, free: 0.8711 MB / 459.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.8024, allocations: 46.89 kB / 0.6235 GB, free: 0.8164 MB / 459.1 MB Notification: Performance of pre-optimization done (n=53): time 3.597e-06/0.8024, allocations: 4 kB / 0.6235 GB, free: 0.8125 MB / 459.1 MB Notification: Performance of matching and sorting (n=59): time 0.01366/0.8161, allocations: 3.065 MB / 0.6265 GB, free: 13.65 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/0.8162, allocations: 111.4 kB / 0.6266 GB, free: 13.52 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/0.8181, allocations: 0.9428 MB / 0.6275 GB, free: 12.56 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 8.552e-05/0.8182, allocations: 29.7 kB / 0.6275 GB, free: 12.52 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008855/0.8191, allocations: 0.9651 MB / 0.6285 GB, free: 11.54 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002717/0.8194, allocations: 209.1 kB / 0.6287 GB, free: 11.34 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.06e-05/0.8194, allocations: 0 / 0.6287 GB, free: 11.34 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.8197, allocations: 374.8 kB / 0.629 GB, free: 10.96 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008485/0.8205, allocations: 359.9 kB / 0.6294 GB, free: 10.61 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/0.8221, allocations: 1.197 MB / 0.6306 GB, free: 8.992 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.8235, allocations: 0.6289 MB / 0.6312 GB, free: 8.363 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-05/0.8235, allocations: 8 kB / 0.6312 GB, free: 8.355 MB / 475.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.003508/0.8271, allocations: 1.427 MB / 0.6326 GB, free: 6.922 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.377e-05/0.8271, allocations: 16 kB / 0.6326 GB, free: 6.906 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.937e-05/0.8272, allocations: 32 kB / 0.6326 GB, free: 6.875 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003097/0.8275, allocations: 88.83 kB / 0.6327 GB, free: 6.785 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002156/0.8297, allocations: 359.4 kB / 0.633 GB, free: 6.434 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/0.8318, allocations: 1.631 MB / 0.6346 GB, free: 4.68 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.8333, allocations: 40.05 kB / 0.6347 GB, free: 4.641 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001752/0.8335, allocations: 88 kB / 0.6348 GB, free: 4.555 MB / 475.1 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 () * 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.0003319/0.8338, allocations: 199.2 kB / 0.635 GB, free: 4.352 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002281/0.8341, allocations: 110.6 kB / 0.6351 GB, free: 4.242 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001737/0.8358, allocations: 0.6599 MB / 0.6357 GB, free: 3.566 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.8359, allocations: 4 kB / 0.6357 GB, free: 3.562 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.8359, allocations: 0 / 0.6357 GB, free: 3.562 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.8359, allocations: 7.984 kB / 0.6357 GB, free: 3.555 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004806/0.8407, allocations: 1.959 MB / 0.6376 GB, free: 1.484 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.8408, allocations: 4 kB / 0.6376 GB, free: 1.48 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007912/0.8416, allocations: 95.83 kB / 0.6377 GB, free: 1.387 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002772/0.8419, allocations: 64.81 kB / 0.6378 GB, free: 1.32 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/0.8419, allocations: 4 kB / 0.6378 GB, free: 1.316 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3292/1.171, allocations: 1.666 MB / 0.6394 GB, free: 126 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/1.171, allocations: 9.141 kB / 0.6394 GB, free: 126 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/1.173, allocations: 1.252 MB / 0.6406 GB, free: 125.4 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004701/1.174, allocations: 219.2 kB / 0.6409 GB, free: 125.3 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/1.174, allocations: 10.28 kB / 0.6409 GB, free: 125.3 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006614/1.175, allocations: 18.48 kB / 0.6409 GB, free: 125.3 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/1.175, allocations: 50.92 kB / 0.6409 GB, free: 125.3 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.79e-05/1.175, allocations: 22.98 kB / 0.641 GB, free: 125.3 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.001316/1.176, allocations: 0.6573 MB / 0.6416 GB, free: 125.2 MB / 475.1 MB Notification: Performance of sort global known variables: time 4.01e-07/1.176, allocations: 0 / 0.6416 GB, free: 125.2 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.002011/1.178, allocations: 266.3 kB / 0.6418 GB, free: 125.2 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 53 * 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.0002708/1.179, allocations: 125.8 kB / 0.642 GB, free: 125.1 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.002222/1.181, allocations: 0.9681 MB / 0.6429 GB, free: 125 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.181, allocations: 1.062 kB / 0.6429 GB, free: 125 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007352/1.182, allocations: 378 kB / 0.6433 GB, free: 124.9 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/1.183, allocations: 143.5 kB / 0.6434 GB, free: 124.9 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005795/1.189, allocations: 2.313 MB / 0.6457 GB, free: 124.2 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001795/1.19, allocations: 1.484 MB / 0.6471 GB, free: 123.5 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003745/1.191, allocations: 84.61 kB / 0.6472 GB, free: 123.5 MB / 475.1 MB Notification: Performance of SimCode: time 2.645e-06/1.191, allocations: 0 / 0.6472 GB, free: 123.5 MB / 475.1 MB Notification: Performance of Templates: time 0.04794/1.239, allocations: 21.05 MB / 0.6678 GB, free: 122.6 MB / 475.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches