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.001394/0.001394, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001451/0.001451, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.468/1.468, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.2258/0.2258, allocations: 44.91 MB / 359.6 MB, free: 6.305 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="cs",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.00266/0.00266, allocations: 63.91 kB / 0.4939 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3405, allocations: 65.47 MB / 0.5578 GB, free: 7.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01121/0.3517, allocations: 8.712 MB / 0.5663 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007121/0.3589, allocations: 3.504 MB / 0.5697 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.36, allocations: 55.75 kB / 0.5698 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002883/0.3628, allocations: 1.386 MB / 0.5711 GB, free: 9.934 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002528/0.3654, allocations: 0.934 MB / 0.572 GB, free: 8.996 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.3666, allocations: 0.5185 MB / 0.5726 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002608/0.3692, allocations: 1.73 MB / 0.5742 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/0.371, allocations: 1.253 MB / 0.5755 GB, free: 5.445 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.3721, allocations: 0.6737 MB / 0.5761 GB, free: 4.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/0.3735, allocations: 0.9386 MB / 0.577 GB, free: 3.828 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002773/0.3738, allocations: 140 kB / 0.5772 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.3748, allocations: 0.5929 MB / 0.5778 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008289/0.3757, allocations: 0.7519 MB / 0.5785 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009116/0.3766, allocations: 0.8236 MB / 0.5793 GB, free: 1.516 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003139/0.3797, allocations: 2.491 MB / 0.5817 GB, free: 15.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3797, allocations: 0 / 0.5817 GB, free: 15.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3797, allocations: 0 / 0.5817 GB, free: 15.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.798e-05/0.3798, allocations: 0 / 0.5817 GB, free: 15.02 MB / 430.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.003898/0.3837, allocations: 1.979 MB / 0.5837 GB, free: 13 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3837, allocations: 8.031 kB / 0.5837 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.267e-05/0.3838, allocations: 38.67 kB / 0.5837 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003243/0.3841, allocations: 249.4 kB / 0.5839 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/0.3854, allocations: 295.5 kB / 0.5842 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/0.388, allocations: 1.226 MB / 0.5854 GB, free: 11.15 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.3881, allocations: 94.45 kB / 0.5855 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002343/0.3883, allocations: 124 kB / 0.5856 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006251/0.3946, allocations: 2.996 MB / 0.5886 GB, free: 7.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.486e-05/0.3946, allocations: 19.88 kB / 0.5886 GB, free: 7.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.3947, allocations: 59.97 kB / 0.5886 GB, free: 7.672 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000697/0.3954, allocations: 434 kB / 0.589 GB, free: 7.246 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005336/0.4008, allocations: 2.175 MB / 0.5912 GB, free: 5.062 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01463/0.4154, allocations: 10.65 MB / 0.6016 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004211/0.4196, allocations: 1.202 MB / 0.6027 GB, free: 8.918 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006317/0.4203, allocations: 367.1 kB / 0.6031 GB, free: 8.551 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003777/0.424, allocations: 2.101 MB / 0.6051 GB, free: 6.426 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.4241, allocations: 42.94 kB / 0.6052 GB, free: 6.375 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 3.106e-06/0.4241, allocations: 0 / 0.6052 GB, free: 6.375 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01257/0.4367, allocations: 3.59 MB / 0.6087 GB, free: 2.727 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.257e-05/0.4367, allocations: 85.61 kB / 0.6088 GB, free: 2.625 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/0.4384, allocations: 1.186 MB / 0.6099 GB, free: 1.426 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.081e-05/0.4384, allocations: 37.7 kB / 0.61 GB, free: 1.383 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007567/0.4392, allocations: 0.9663 MB / 0.6109 GB, free: 416 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.4394, allocations: 230.1 kB / 0.6111 GB, free: 184 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004399/0.4398, allocations: 311.3 kB / 0.6114 GB, free: 15.87 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.44, allocations: 313.1 kB / 0.6117 GB, free: 15.56 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006992/0.4407, allocations: 407.7 kB / 0.6121 GB, free: 15.16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/0.4421, allocations: 1.25 MB / 0.6133 GB, free: 13.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002392/0.4445, allocations: 1.802 MB / 0.6151 GB, free: 11.28 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.632e-05/0.4445, allocations: 12 kB / 0.6151 GB, free: 11.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002947/0.4475, allocations: 1.716 MB / 0.6168 GB, free: 9.543 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.987e-05/0.4475, allocations: 22.53 kB / 0.6168 GB, free: 9.523 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.593e-05/0.4475, allocations: 28 kB / 0.6168 GB, free: 9.496 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002471/0.4478, allocations: 92.77 kB / 0.6169 GB, free: 9.402 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.4489, allocations: 347.4 kB / 0.6172 GB, free: 9.062 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/0.4508, allocations: 1.769 MB / 0.619 GB, free: 7.176 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009605/0.4517, allocations: 67.98 kB / 0.619 GB, free: 7.109 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.4518, allocations: 87.94 kB / 0.6191 GB, free: 7.023 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.001065/0.4529, allocations: 0.6524 MB / 0.6198 GB, free: 6.363 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.4531, allocations: 119.2 kB / 0.6199 GB, free: 6.246 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.4534, allocations: 131.6 kB / 0.62 GB, free: 6.113 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.4534, allocations: 8 kB / 0.62 GB, free: 6.105 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.4534, allocations: 192 / 0.62 GB, free: 6.105 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.4534, allocations: 11.92 kB / 0.62 GB, free: 6.094 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003803/0.4572, allocations: 2.211 MB / 0.6222 GB, free: 3.785 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.779e-05/0.4572, allocations: 7.984 kB / 0.6222 GB, free: 3.777 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003975/0.4576, allocations: 99.83 kB / 0.6223 GB, free: 3.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000197/0.4578, allocations: 60.81 kB / 0.6223 GB, free: 3.617 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/0.4578, allocations: 16 kB / 0.6224 GB, free: 3.602 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001993/0.4598, allocations: 1.836 MB / 0.6241 GB, free: 1.652 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.4598, allocations: 4 kB / 0.6241 GB, free: 1.648 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.4616, allocations: 1.115 MB / 0.6252 GB, free: 480 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.4619, allocations: 115.2 kB / 0.6253 GB, free: 364 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.462, allocations: 16 kB / 0.6254 GB, free: 348 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003774/0.4624, allocations: 27.92 kB / 0.6254 GB, free: 320 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/0.4625, allocations: 47.92 kB / 0.6254 GB, free: 272 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/0.4625, allocations: 23.94 kB / 0.6255 GB, free: 248 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001095/0.4636, allocations: 0.7597 MB / 0.6262 GB, free: 15.48 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4636, allocations: 4 kB / 0.6262 GB, free: 15.47 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001388/0.465, allocations: 292 kB / 0.6265 GB, free: 15.19 MB / 478.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.002192/0.4672, allocations: 1.684 MB / 0.6281 GB, free: 13.42 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00199/0.4692, allocations: 1.061 MB / 0.6292 GB, free: 12.35 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.4692, allocations: 4 kB / 0.6292 GB, free: 12.35 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006046/0.4698, allocations: 391.7 kB / 0.6295 GB, free: 11.95 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.4708, allocations: 192.7 kB / 0.6297 GB, free: 11.76 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01841/0.4892, allocations: 11.52 MB / 0.641 GB, free: 15.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001317/0.4905, allocations: 1.447 MB / 0.6424 GB, free: 13.71 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009951/0.4915, allocations: 409.5 kB / 0.6428 GB, free: 13.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007278/0.4923, allocations: 0.5774 MB / 0.6433 GB, free: 12.73 MB / 494.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4923, allocations: 0 / 0.6433 GB, free: 12.73 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05985/0.5521, allocations: 24.35 MB / 0.6671 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/14.88, allocations: 19.06 kB / 0.6671 GB, free: 4.613 MB / 0.4981 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 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.mat","/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: 18.558206957008224]