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.001628/0.001633, allocations: 187.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.056/2.056, allocations: 205.4 MB / 222.5 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001178/0.001177, allocations: 98.84 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.296/0.296, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006421/0.0006425, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1209, allocations: 58.85 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.03459/0.1555, allocations: 22.34 MB / 0.5005 GB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01734/0.1729, allocations: 6.168 MB / 0.5066 GB, free: 12.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004299/0.1773, allocations: 111.7 kB / 0.5067 GB, free: 12.64 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003956/0.1813, allocations: 1.061 MB / 0.5077 GB, free: 11.57 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01384/0.1952, allocations: 3.362 MB / 0.511 GB, free: 8.199 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.1976, allocations: 447.2 kB / 0.5114 GB, free: 7.762 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002799/0.2005, allocations: 0.9751 MB / 0.5124 GB, free: 6.785 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004301/0.2049, allocations: 1.961 MB / 0.5143 GB, free: 4.781 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.2061, allocations: 458.4 kB / 0.5147 GB, free: 4.332 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.2074, allocations: 0.5724 MB / 0.5153 GB, free: 3.758 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003021/0.2078, allocations: 56 kB / 0.5153 GB, free: 3.703 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.2091, allocations: 439.4 kB / 0.5158 GB, free: 3.273 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009209/0.21, allocations: 0.5845 MB / 0.5163 GB, free: 2.688 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004827/0.2106, allocations: 308.8 kB / 0.5166 GB, free: 2.379 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003282/0.2139, allocations: 1.913 MB / 0.5185 GB, free: 472 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2139, allocations: 7.938 kB / 0.5185 GB, free: 464 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.2139, allocations: 3.938 kB / 0.5185 GB, free: 460 kB / 362.7 MB Notification: Performance of Transformations before backend: time 7.675e-05/0.214, allocations: 0 / 0.5185 GB, free: 460 kB / 362.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.3117/0.5258, allocations: 1.727 MB / 0.5202 GB, free: 47.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.5258, allocations: 13.11 kB / 0.5202 GB, free: 47.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002523/0.5284, allocations: 280.5 kB / 0.5205 GB, free: 46.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004208/0.5326, allocations: 1.283 MB / 0.5217 GB, free: 46.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/0.5329, allocations: 94.06 kB / 0.5218 GB, free: 46.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000411/0.5333, allocations: 129.7 kB / 0.5219 GB, free: 46.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.5434, allocations: 3.038 MB / 0.5249 GB, free: 45.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.626e-05/0.5436, allocations: 10.22 kB / 0.5249 GB, free: 45.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002135/0.5438, allocations: 58.05 kB / 0.525 GB, free: 45.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001177/0.545, allocations: 433.5 kB / 0.5254 GB, free: 45.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009773/0.5548, allocations: 2.227 MB / 0.5276 GB, free: 44.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02171/0.5765, allocations: 10.82 MB / 0.5381 GB, free: 36.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007031/0.5836, allocations: 1.231 MB / 0.5393 GB, free: 36.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005951/0.5896, allocations: 3.047 MB / 0.5423 GB, free: 33.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.5897, allocations: 37 kB / 0.5423 GB, free: 33.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 3.637e-06/0.5898, allocations: 0 / 0.5423 GB, free: 33.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.01998/0.6097, allocations: 3.809 MB / 0.5461 GB, free: 31.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.6098, allocations: 81.67 kB / 0.5461 GB, free: 31.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002233/0.6121, allocations: 1.32 MB / 0.5474 GB, free: 29.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.6122, allocations: 33.7 kB / 0.5474 GB, free: 29.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006529/0.6129, allocations: 0.9485 MB / 0.5484 GB, free: 28.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/0.6132, allocations: 216.6 kB / 0.5486 GB, free: 28.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.854e-05/0.6133, allocations: 32 kB / 0.5486 GB, free: 28.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.6134, allocations: 382.8 kB / 0.549 GB, free: 28.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009703/0.6144, allocations: 399.7 kB / 0.5494 GB, free: 27.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/0.6158, allocations: 1.235 MB / 0.5506 GB, free: 26.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.6173, allocations: 0.6682 MB / 0.5512 GB, free: 25.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.862e-05/0.6174, allocations: 11.95 kB / 0.5512 GB, free: 25.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003642/0.621, allocations: 1.633 MB / 0.5528 GB, free: 23.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.219e-05/0.6211, allocations: 23.44 kB / 0.5528 GB, free: 23.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.42e-05/0.6212, allocations: 28 kB / 0.5529 GB, free: 23.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002981/0.6215, allocations: 89.58 kB / 0.553 GB, free: 23.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00201/0.6235, allocations: 359.3 kB / 0.5533 GB, free: 23.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/0.6253, allocations: 1.712 MB / 0.555 GB, free: 21.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.6268, allocations: 67.89 kB / 0.555 GB, free: 21.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.627, allocations: 84 kB / 0.5551 GB, free: 21.34 MB / 362.7 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.001168/0.6281, allocations: 0.6404 MB / 0.5557 GB, free: 20.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.6284, allocations: 120.7 kB / 0.5559 GB, free: 20.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/0.6301, allocations: 0.7088 MB / 0.5565 GB, free: 19.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.6301, allocations: 8 kB / 0.5566 GB, free: 19.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6301, allocations: 0 / 0.5566 GB, free: 19.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.6301, allocations: 0 / 0.5566 GB, free: 19.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004949/0.6351, allocations: 2.255 MB / 0.5588 GB, free: 17.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.6352, allocations: 4.812 kB / 0.5588 GB, free: 17.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000732/0.6359, allocations: 95.83 kB / 0.5589 GB, free: 17.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002733/0.6362, allocations: 69.27 kB / 0.5589 GB, free: 17.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.154e-05/0.6362, allocations: 12 kB / 0.5589 GB, free: 17.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.6381, allocations: 1.772 MB / 0.5607 GB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.6382, allocations: 4 kB / 0.5607 GB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/0.6404, allocations: 1.301 MB / 0.5619 GB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005467/0.641, allocations: 227.6 kB / 0.5622 GB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.6412, allocations: 23.94 kB / 0.5622 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006474/0.6419, allocations: 28.05 kB / 0.5622 GB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.642, allocations: 49.27 kB / 0.5623 GB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.139e-05/0.642, allocations: 23.94 kB / 0.5623 GB, free: 13.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001479/0.6435, allocations: 0.8539 MB / 0.5631 GB, free: 12.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6436, allocations: 4 kB / 0.5631 GB, free: 12.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002027/0.6456, allocations: 322.7 kB / 0.5634 GB, free: 12.43 MB / 362.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.0003855/0.646, allocations: 144.5 kB / 0.5636 GB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002462/0.6485, allocations: 1.074 MB / 0.5646 GB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/0.6485, allocations: 4 kB / 0.5646 GB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000833/0.6494, allocations: 403.9 kB / 0.565 GB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.6508, allocations: 170.3 kB / 0.5652 GB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00671/0.6575, allocations: 3.541 MB / 0.5686 GB, free: 7.008 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/0.659, allocations: 1.493 MB / 0.5701 GB, free: 5.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004123/0.6594, allocations: 95.42 kB / 0.5702 GB, free: 5.391 MB / 362.7 MB Notification: Performance of SimCode: time 1.312e-06/0.6595, allocations: 0 / 0.5702 GB, free: 5.391 MB / 362.7 MB Notification: Performance of Templates: time 0.04895/0.7084, allocations: 22.05 MB / 0.5917 GB, free: 15.32 MB / 394.7 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