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.001058/0.001058, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 177.9 kB / 16.57 MB, free: 6.379 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.441/1.441, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3651/0.3651, allocations: 43.56 MB / 314.5 MB, free: 9.043 MB / 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.0005434/0.0005436, allocations: 15.98 kB / 383.9 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1172, allocations: 58.86 MB / 442.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.2532/0.3705, allocations: 22.34 MB / 465.1 MB, free: 35.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0162/0.3868, allocations: 6.173 MB / 471.3 MB, free: 34.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004156/0.391, allocations: 105.8 kB / 471.4 MB, free: 34.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003087/0.3941, allocations: 1.069 MB / 472.4 MB, free: 33.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009948/0.4041, allocations: 3.36 MB / 475.8 MB, free: 32.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.4058, allocations: 440.8 kB / 476.2 MB, free: 32.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001833/0.4077, allocations: 0.9801 MB / 477.2 MB, free: 32.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002224/0.4099, allocations: 1.964 MB / 479.2 MB, free: 31.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005362/0.4105, allocations: 450.9 kB / 479.6 MB, free: 31.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005462/0.411, allocations: 0.5772 MB / 480.2 MB, free: 31.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.468e-05/0.4111, allocations: 57.47 kB / 480.2 MB, free: 31.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007525/0.4119, allocations: 435 kB / 480.7 MB, free: 31.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003604/0.4123, allocations: 0.5836 MB / 481.2 MB, free: 31.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.4125, allocations: 316.5 kB / 481.6 MB, free: 30.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.4137, allocations: 1.911 MB / 483.5 MB, free: 30.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.4137, allocations: 0 / 483.5 MB, free: 30.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4138, allocations: 0 / 483.5 MB, free: 30.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.4138, allocations: 0 / 483.5 MB, free: 30.47 MB / 382.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.002568/0.4164, allocations: 1.742 MB / 485.2 MB, free: 29.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.4164, allocations: 13.7 kB / 485.2 MB, free: 29.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.4174, allocations: 275.8 kB / 485.5 MB, free: 29.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/0.4195, allocations: 1.287 MB / 486.8 MB, free: 28.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.834e-05/0.4196, allocations: 91.08 kB / 486.9 MB, free: 28.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001889/0.4198, allocations: 129.1 kB / 487 MB, free: 28.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005681/0.4255, allocations: 3.036 MB / 490 MB, free: 27.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.85e-05/0.4256, allocations: 10.77 kB / 490 MB, free: 27.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.4257, allocations: 63.05 kB / 490.1 MB, free: 27.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007103/0.4264, allocations: 436.1 kB / 490.5 MB, free: 27.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005662/0.4321, allocations: 2.226 MB / 492.8 MB, free: 26.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01386/0.446, allocations: 10.81 MB / 0.4918 GB, free: 19.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004033/0.45, allocations: 1.23 MB / 0.493 GB, free: 18.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004041/0.4541, allocations: 3.043 MB / 0.4959 GB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.4542, allocations: 41.92 kB / 0.496 GB, free: 16.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 3.026e-06/0.4542, allocations: 1.062 kB / 0.496 GB, free: 16.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01247/0.4667, allocations: 3.808 MB / 0.4997 GB, free: 15.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.4667, allocations: 83.48 kB / 0.4998 GB, free: 15.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002225/0.469, allocations: 1.318 MB / 0.5011 GB, free: 14.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.591e-05/0.469, allocations: 36.05 kB / 0.5011 GB, free: 14.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005767/0.4696, allocations: 0.9494 MB / 0.502 GB, free: 13.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.4698, allocations: 217.5 kB / 0.5022 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.391e-05/0.4699, allocations: 34 kB / 0.5023 GB, free: 13.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.47, allocations: 368.9 kB / 0.5026 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007059/0.4707, allocations: 401.2 kB / 0.503 GB, free: 12.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.4718, allocations: 1.234 MB / 0.5042 GB, free: 11.31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.4729, allocations: 0.6731 MB / 0.5049 GB, free: 10.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.307e-05/0.473, allocations: 8.406 kB / 0.5049 GB, free: 10.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003346/0.4763, allocations: 1.689 MB / 0.5065 GB, free: 10.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.784e-05/0.4764, allocations: 17.75 kB / 0.5065 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-05/0.4765, allocations: 37.98 kB / 0.5066 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002997/0.4768, allocations: 89.73 kB / 0.5067 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.478, allocations: 353.2 kB / 0.507 GB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/0.4793, allocations: 1.711 MB / 0.5087 GB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.4806, allocations: 66.05 kB / 0.5087 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/0.4808, allocations: 89.75 kB / 0.5088 GB, free: 8.324 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 (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.001273/0.4821, allocations: 0.6388 MB / 0.5094 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002732/0.4823, allocations: 119.8 kB / 0.5096 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.4837, allocations: 0.7117 MB / 0.5102 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.4837, allocations: 4.219 kB / 0.5103 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.4837, allocations: 2.719 kB / 0.5103 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.4837, allocations: 11.92 kB / 0.5103 GB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004233/0.488, allocations: 2.245 MB / 0.5125 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.488, allocations: 3.906 kB / 0.5125 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003646/0.4884, allocations: 90.3 kB / 0.5125 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001927/0.4886, allocations: 64.66 kB / 0.5126 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/0.4886, allocations: 19.06 kB / 0.5126 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/0.4899, allocations: 1.775 MB / 0.5144 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.49, allocations: 4.875 kB / 0.5144 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.4913, allocations: 1.298 MB / 0.5156 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004575/0.4918, allocations: 230.5 kB / 0.5159 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/0.492, allocations: 16.81 kB / 0.5159 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004514/0.4925, allocations: 24.45 kB / 0.5159 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.4925, allocations: 48.23 kB / 0.5159 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.4926, allocations: 23.25 kB / 0.516 GB, free: 2.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001168/0.4938, allocations: 0.855 MB / 0.5168 GB, free: 2.434 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4938, allocations: 3.938 kB / 0.5168 GB, free: 2.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001569/0.4953, allocations: 316 kB / 0.5171 GB, free: 2.121 MB / 382.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 (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.0003048/0.4956, allocations: 159.1 kB / 0.5173 GB, free: 1.953 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.4972, allocations: 1.074 MB / 0.5183 GB, free: 0.875 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.4972, allocations: 5.562 kB / 0.5183 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004613/0.4977, allocations: 403.6 kB / 0.5187 GB, free: 476 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008556/0.4986, allocations: 173.8 kB / 0.5189 GB, free: 300 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005561/0.5042, allocations: 3.39 MB / 0.5222 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00225/0.5065, allocations: 1.482 MB / 0.5236 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001335/0.5078, allocations: 413.9 kB / 0.524 GB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/0.5081, allocations: 83.36 kB / 0.5241 GB, free: 10.82 MB / 398.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5081, allocations: 0 / 0.5241 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Templates: time 0.02186/0.53, allocations: 10.36 MB / 0.5342 GB, free: 0.5195 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile Environment - environmentSimulation: (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 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/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_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches