Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001237, allocations: 112.5 kB / 17.04 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 195 kB / 17.97 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.724/1.724, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2328/0.2328, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 69.91 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1546, allocations: 57.8 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.00894/0.1636, allocations: 8.672 MB / 450.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007426/0.171, allocations: 3.46 MB / 454.1 MB, free: 9.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002159/0.1732, allocations: 43.88 kB / 454.2 MB, free: 9.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002895/0.1761, allocations: 1.374 MB / 455.5 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003062/0.1793, allocations: 0.9417 MB / 456.5 MB, free: 7.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.1805, allocations: 0.5186 MB / 457 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002435/0.183, allocations: 1.691 MB / 458.7 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001899/0.1849, allocations: 1.671 MB / 460.3 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.1859, allocations: 0.6776 MB / 461 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.187, allocations: 0.8879 MB / 461.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.1872, allocations: 140 kB / 462.1 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.1883, allocations: 0.5968 MB / 462.6 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006823/0.189, allocations: 0.7287 MB / 463.4 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000868/0.1899, allocations: 0.8353 MB / 464.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002771/0.1927, allocations: 2.492 MB / 466.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.1927, allocations: 0 / 466.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1927, allocations: 0 / 466.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.481e-05/0.1928, allocations: 0 / 466.7 MB, free: 13.29 MB / 350.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.003722/0.1965, allocations: 2.009 MB / 468.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.1966, allocations: 15.89 kB / 468.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.1976, allocations: 262.5 kB / 469 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002524/0.2002, allocations: 1.145 MB / 470.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.299e-05/0.2003, allocations: 94.58 kB / 470.2 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000202/0.2005, allocations: 124 kB / 470.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005447/0.2059, allocations: 2.984 MB / 473.3 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.574e-05/0.206, allocations: 11.94 kB / 473.3 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.2062, allocations: 55.97 kB / 473.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006792/0.2068, allocations: 434 kB / 473.8 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004594/0.2114, allocations: 2.16 MB / 476 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0138/0.2253, allocations: 10.7 MB / 486.7 MB, free: 8.734 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003642/0.229, allocations: 1.226 MB / 487.9 MB, free: 7.488 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005937/0.2296, allocations: 411.1 kB / 488.3 MB, free: 7.082 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004346/0.2339, allocations: 3.005 MB / 491.3 MB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.234, allocations: 35 kB / 491.3 MB, free: 3.781 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.214e-06/0.234, allocations: 0 / 491.3 MB, free: 3.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.0115/0.2455, allocations: 3.776 MB / 495.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.49e-05/0.2457, allocations: 85.61 kB / 495.2 MB, free: 15.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001938/0.2476, allocations: 1.206 MB / 496.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.269e-05/0.2477, allocations: 33.7 kB / 496.4 MB, free: 14.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007906/0.2485, allocations: 0.9356 MB / 497.4 MB, free: 13.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.2487, allocations: 225.1 kB / 497.6 MB, free: 13.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004048/0.2491, allocations: 315.1 kB / 497.9 MB, free: 13.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.2493, allocations: 305.1 kB / 498.2 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000624/0.2499, allocations: 419.7 kB / 498.6 MB, free: 12.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/0.2513, allocations: 1.254 MB / 499.9 MB, free: 10.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002341/0.2537, allocations: 1.803 MB / 0.4899 GB, free: 8.453 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.698e-05/0.2537, allocations: 11.94 kB / 0.4899 GB, free: 8.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003062/0.2568, allocations: 1.73 MB / 0.4916 GB, free: 6.699 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/0.2568, allocations: 17 kB / 0.4916 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-05/0.2569, allocations: 32 kB / 0.4917 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002643/0.2572, allocations: 88.83 kB / 0.4917 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.2582, allocations: 363.3 kB / 0.4921 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/0.2602, allocations: 1.873 MB / 0.4939 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.2614, allocations: 71.97 kB / 0.494 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.2615, allocations: 84 kB / 0.4941 GB, free: 4.043 MB / 382.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.001124/0.2627, allocations: 0.6486 MB / 0.4947 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.2629, allocations: 114.5 kB / 0.4948 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.2641, allocations: 0.7146 MB / 0.4955 GB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.84e-06/0.2641, allocations: 4 kB / 0.4955 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.2641, allocations: 0 / 0.4955 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.2641, allocations: 3.984 kB / 0.4955 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003605/0.2677, allocations: 2.232 MB / 0.4977 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.2678, allocations: 7.984 kB / 0.4977 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000362/0.2681, allocations: 91.83 kB / 0.4978 GB, free: 108 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002151/0.2684, allocations: 60.83 kB / 0.4978 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.67e-05/0.2684, allocations: 19.94 kB / 0.4979 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001748/0.2702, allocations: 1.947 MB / 0.4998 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/0.2702, allocations: 11.88 kB / 0.4998 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.2718, allocations: 1.1 MB / 0.5009 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005054/0.2723, allocations: 215.7 kB / 0.5011 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.2724, allocations: 16 kB / 0.5011 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003662/0.2728, allocations: 27.97 kB / 0.5011 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.2729, allocations: 51.89 kB / 0.5012 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-05/0.273, allocations: 20 kB / 0.5012 GB, free: 12.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001243/0.2742, allocations: 0.7715 MB / 0.5019 GB, free: 11.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2742, allocations: 0 / 0.5019 GB, free: 11.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001656/0.2759, allocations: 296 kB / 0.5022 GB, free: 11.35 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 (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.0002912/0.2762, allocations: 123.1 kB / 0.5023 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001908/0.2781, allocations: 1.123 MB / 0.5034 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.2781, allocations: 5.5 kB / 0.5034 GB, free: 10.08 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005537/0.2787, allocations: 407.5 kB / 0.5038 GB, free: 9.672 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009955/0.2797, allocations: 180.6 kB / 0.504 GB, free: 9.496 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004714/0.2844, allocations: 2.825 MB / 0.5067 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001672/0.2861, allocations: 1.451 MB / 0.5082 GB, free: 5.105 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00112/0.2873, allocations: 417.8 kB / 0.5086 GB, free: 4.695 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.2874, allocations: 75.44 kB / 0.5086 GB, free: 4.621 MB / 398.1 MB Notification: Performance of SimCode: time 8.51e-07/0.2874, allocations: 0 / 0.5086 GB, free: 4.621 MB / 398.1 MB Notification: Performance of Templates: time 0.02303/0.3105, allocations: 10.49 MB / 0.5189 GB, free: 10.18 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches