Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2245/0.2245, allocations: 44.92 MB / 358.8 MB, free: 6.105 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 67.89 kB / 0.493 GB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3644, allocations: 65.48 MB / 0.557 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01084/0.3752, allocations: 7.632 MB / 0.5644 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008618/0.3839, allocations: 3.279 MB / 0.5676 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.3854, allocations: 55.75 kB / 0.5677 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002957/0.3884, allocations: 1.332 MB / 0.569 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002744/0.3911, allocations: 0.9378 MB / 0.5699 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.3924, allocations: 0.5147 MB / 0.5704 GB, free: 9.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002445/0.3949, allocations: 1.726 MB / 0.5721 GB, free: 8.039 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001618/0.3965, allocations: 1.26 MB / 0.5733 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009812/0.3975, allocations: 0.6699 MB / 0.574 GB, free: 6.062 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0013/0.3988, allocations: 0.876 MB / 0.5748 GB, free: 5.184 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002475/0.399, allocations: 144 kB / 0.575 GB, free: 5.043 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.4002, allocations: 0.5539 MB / 0.5755 GB, free: 4.488 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007658/0.4009, allocations: 0.7441 MB / 0.5762 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007815/0.4017, allocations: 0.6528 MB / 0.5769 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003211/0.4049, allocations: 2.498 MB / 0.5793 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.4049, allocations: 0 / 0.5793 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.4049, allocations: 0 / 0.5793 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.998e-05/0.405, allocations: 0 / 0.5793 GB, free: 0.5781 MB / 414.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.004377/0.4094, allocations: 1.982 MB / 0.5812 GB, free: 14.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.4094, allocations: 12.03 kB / 0.5813 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003497/0.4098, allocations: 245.5 kB / 0.5815 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.411, allocations: 283.5 kB / 0.5818 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002856/0.4138, allocations: 1.23 MB / 0.583 GB, free: 12.76 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.4139, allocations: 98.39 kB / 0.5831 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002329/0.4142, allocations: 132 kB / 0.5832 GB, free: 12.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005847/0.42, allocations: 3.046 MB / 0.5862 GB, free: 9.281 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-05/0.4201, allocations: 15.89 kB / 0.5862 GB, free: 9.266 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.4202, allocations: 59.97 kB / 0.5862 GB, free: 9.207 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006255/0.4208, allocations: 434 kB / 0.5866 GB, free: 8.781 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00472/0.4255, allocations: 2.175 MB / 0.5888 GB, free: 6.598 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01478/0.4403, allocations: 10.25 MB / 0.5988 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004246/0.4446, allocations: 1.189 MB / 0.5999 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006191/0.4452, allocations: 375 kB / 0.6003 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003976/0.4492, allocations: 2.015 MB / 0.6023 GB, free: 8.449 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/0.4492, allocations: 43 kB / 0.6023 GB, free: 8.395 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.675e-06/0.4492, allocations: 0 / 0.6023 GB, free: 8.395 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.0117/0.4609, allocations: 3.59 MB / 0.6058 GB, free: 4.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/0.461, allocations: 85.61 kB / 0.6059 GB, free: 4.648 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.4626, allocations: 1.232 MB / 0.6071 GB, free: 3.402 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/0.4627, allocations: 37.7 kB / 0.6071 GB, free: 3.359 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007623/0.4635, allocations: 0.9702 MB / 0.6081 GB, free: 2.379 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/0.4637, allocations: 230.2 kB / 0.6083 GB, free: 2.152 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004084/0.4641, allocations: 315.3 kB / 0.6086 GB, free: 1.836 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4642, allocations: 301.1 kB / 0.6089 GB, free: 1.539 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006823/0.4649, allocations: 411.7 kB / 0.6093 GB, free: 1.137 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/0.4664, allocations: 1.279 MB / 0.6105 GB, free: 15.44 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002305/0.4687, allocations: 1.795 MB / 0.6123 GB, free: 13.23 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.558e-05/0.4687, allocations: 12 kB / 0.6123 GB, free: 13.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002831/0.4715, allocations: 1.719 MB / 0.614 GB, free: 11.49 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.4716, allocations: 16 kB / 0.614 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.121e-05/0.4716, allocations: 39.98 kB / 0.614 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002254/0.4718, allocations: 84.83 kB / 0.6141 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.4729, allocations: 352.1 kB / 0.6144 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/0.4747, allocations: 1.769 MB / 0.6162 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008602/0.4755, allocations: 67.98 kB / 0.6162 GB, free: 9.051 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.4757, allocations: 84 kB / 0.6163 GB, free: 8.969 MB / 462.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 (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.0009356/0.4766, allocations: 0.6401 MB / 0.6169 GB, free: 8.32 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.4767, allocations: 123.2 kB / 0.6171 GB, free: 8.199 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.477, allocations: 135.6 kB / 0.6172 GB, free: 8.062 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.477, allocations: 8 kB / 0.6172 GB, free: 8.055 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.477, allocations: 0 / 0.6172 GB, free: 8.055 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.477, allocations: 3.984 kB / 0.6172 GB, free: 8.051 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003685/0.4807, allocations: 2.137 MB / 0.6193 GB, free: 5.816 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.4807, allocations: 4.625 kB / 0.6193 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003853/0.4811, allocations: 103.9 kB / 0.6194 GB, free: 5.711 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001967/0.4813, allocations: 68.8 kB / 0.6195 GB, free: 5.641 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.4813, allocations: 8 kB / 0.6195 GB, free: 5.633 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/0.4832, allocations: 1.836 MB / 0.6213 GB, free: 3.684 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.4832, allocations: 4 kB / 0.6213 GB, free: 3.68 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.4848, allocations: 1.114 MB / 0.6223 GB, free: 2.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00025/0.4851, allocations: 119.1 kB / 0.6225 GB, free: 2.383 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.95e-05/0.4852, allocations: 16 kB / 0.6225 GB, free: 2.367 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.4855, allocations: 27.92 kB / 0.6225 GB, free: 2.34 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.673e-05/0.4856, allocations: 47.92 kB / 0.6225 GB, free: 2.293 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/0.4856, allocations: 24 kB / 0.6226 GB, free: 2.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001071/0.4867, allocations: 0.7635 MB / 0.6233 GB, free: 1.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4867, allocations: 4 kB / 0.6233 GB, free: 1.496 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001387/0.4881, allocations: 292 kB / 0.6236 GB, free: 1.211 MB / 462.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.002246/0.4903, allocations: 1.684 MB / 0.6252 GB, free: 15.45 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00217/0.4925, allocations: 1.058 MB / 0.6263 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.4925, allocations: 8.062 kB / 0.6263 GB, free: 14.37 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006993/0.4932, allocations: 398.2 kB / 0.6267 GB, free: 13.97 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.4945, allocations: 192.1 kB / 0.6268 GB, free: 13.79 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01894/0.5134, allocations: 11.51 MB / 0.6381 GB, free: 1.223 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.5146, allocations: 0.859 MB / 0.6389 GB, free: 336 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009917/0.5156, allocations: 405.6 kB / 0.6393 GB, free: 15.93 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00073/0.5163, allocations: 0.5774 MB / 0.6399 GB, free: 15.35 MB / 494.1 MB Notification: Performance of SimCode: time 1.113e-06/0.5163, allocations: 0 / 0.6399 GB, free: 15.35 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06658/0.5829, allocations: 24.02 MB / 0.6633 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/13.16, allocations: 9.297 kB / 0.6633 GB, free: 7.695 MB / 0.4981 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.353774493094534]