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.00173/0.00173, allocations: 107.5 kB / 21.21 MB, free: 0.6523 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.001934/0.001934, allocations: 211.7 kB / 24.51 MB, free: 3.945 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.543/1.543, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.2232/0.2232, allocations: 44.93 MB / 359.6 MB, free: 6.039 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.001997/0.001997, allocations: 63.91 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3737, allocations: 65.47 MB / 0.5577 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01024/0.384, allocations: 7.596 MB / 0.5651 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007325/0.3913, allocations: 3.279 MB / 0.5683 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.3926, allocations: 51.75 kB / 0.5684 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002836/0.3955, allocations: 1.324 MB / 0.5697 GB, free: 11.24 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002602/0.3981, allocations: 0.9379 MB / 0.5706 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.3994, allocations: 0.5225 MB / 0.5711 GB, free: 9.773 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00294/0.4024, allocations: 1.722 MB / 0.5728 GB, free: 8.047 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002037/0.4044, allocations: 1.257 MB / 0.574 GB, free: 6.746 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.4057, allocations: 0.6738 MB / 0.5747 GB, free: 6.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001712/0.4074, allocations: 0.9425 MB / 0.5756 GB, free: 5.125 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003795/0.4078, allocations: 136 kB / 0.5757 GB, free: 4.992 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.4091, allocations: 0.5734 MB / 0.5763 GB, free: 4.418 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009927/0.4101, allocations: 0.7441 MB / 0.577 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.4114, allocations: 0.6489 MB / 0.5777 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003265/0.4147, allocations: 2.502 MB / 0.5801 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4147, allocations: 4 kB / 0.5801 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4147, allocations: 4 kB / 0.5801 GB, free: 0.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.056e-05/0.4148, allocations: 0 / 0.5801 GB, free: 0.5 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.004217/0.419, allocations: 1.979 MB / 0.582 GB, free: 14.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.419, allocations: 8.031 kB / 0.582 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.056e-05/0.4191, allocations: 42.67 kB / 0.5821 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003114/0.4194, allocations: 249.5 kB / 0.5823 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/0.4206, allocations: 283.5 kB / 0.5826 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/0.423, allocations: 1.229 MB / 0.5838 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.4231, allocations: 98.45 kB / 0.5839 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002074/0.4234, allocations: 123.9 kB / 0.584 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005632/0.429, allocations: 3.042 MB / 0.587 GB, free: 9.176 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.589e-05/0.429, allocations: 23.77 kB / 0.587 GB, free: 9.152 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/0.4292, allocations: 55.97 kB / 0.5871 GB, free: 9.098 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006556/0.4298, allocations: 438 kB / 0.5875 GB, free: 8.668 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0049/0.4347, allocations: 2.171 MB / 0.5896 GB, free: 6.488 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0137/0.4484, allocations: 10.26 MB / 0.5996 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004035/0.4525, allocations: 1.199 MB / 0.6008 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006125/0.4531, allocations: 367 kB / 0.6011 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003822/0.4569, allocations: 2.015 MB / 0.6031 GB, free: 8.332 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.19e-05/0.457, allocations: 46.88 kB / 0.6031 GB, free: 8.273 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.394e-06/0.457, allocations: 0 / 0.6031 GB, free: 8.273 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01193/0.4689, allocations: 3.578 MB / 0.6066 GB, free: 4.641 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/0.469, allocations: 89.61 kB / 0.6067 GB, free: 4.535 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.4706, allocations: 1.19 MB / 0.6079 GB, free: 3.332 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.452e-05/0.4706, allocations: 37.7 kB / 0.6079 GB, free: 3.289 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007807/0.4714, allocations: 0.9663 MB / 0.6089 GB, free: 2.312 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.4716, allocations: 230.2 kB / 0.6091 GB, free: 2.086 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003977/0.472, allocations: 311.3 kB / 0.6094 GB, free: 1.773 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.4722, allocations: 305.1 kB / 0.6097 GB, free: 1.473 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006783/0.4729, allocations: 415.7 kB / 0.6101 GB, free: 1.066 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.4742, allocations: 1.271 MB / 0.6113 GB, free: 15.38 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002211/0.4764, allocations: 1.799 MB / 0.6131 GB, free: 13.16 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.72e-05/0.4765, allocations: 8 kB / 0.6131 GB, free: 13.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002827/0.4793, allocations: 1.719 MB / 0.6148 GB, free: 11.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.4793, allocations: 20.25 kB / 0.6148 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.083e-05/0.4794, allocations: 28 kB / 0.6148 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002239/0.4796, allocations: 84.83 kB / 0.6149 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.4806, allocations: 359.3 kB / 0.6152 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/0.4825, allocations: 1.765 MB / 0.6169 GB, free: 9.059 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009586/0.4834, allocations: 72.05 kB / 0.617 GB, free: 8.988 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.4835, allocations: 87.98 kB / 0.6171 GB, free: 8.902 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.0009842/0.4845, allocations: 0.6419 MB / 0.6177 GB, free: 8.254 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.4847, allocations: 123.2 kB / 0.6178 GB, free: 8.133 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.4849, allocations: 135.6 kB / 0.618 GB, free: 7.996 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.485, allocations: 8 kB / 0.618 GB, free: 7.988 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.485, allocations: 0 / 0.618 GB, free: 7.988 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.485, allocations: 4 kB / 0.618 GB, free: 7.984 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00352/0.4885, allocations: 2.141 MB / 0.6201 GB, free: 5.746 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/0.4885, allocations: 4 kB / 0.6201 GB, free: 5.742 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/0.4889, allocations: 103.8 kB / 0.6202 GB, free: 5.641 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001955/0.4891, allocations: 64.75 kB / 0.6202 GB, free: 5.574 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.4891, allocations: 16 kB / 0.6203 GB, free: 5.559 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001781/0.4909, allocations: 1.837 MB / 0.622 GB, free: 3.609 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.4909, allocations: 4 kB / 0.6221 GB, free: 3.605 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.4925, allocations: 1.118 MB / 0.6231 GB, free: 2.422 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002276/0.4927, allocations: 107.2 kB / 0.6232 GB, free: 2.316 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.4929, allocations: 15.98 kB / 0.6233 GB, free: 2.301 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003772/0.4932, allocations: 27.92 kB / 0.6233 GB, free: 2.273 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.106e-05/0.4933, allocations: 51.86 kB / 0.6233 GB, free: 2.223 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/0.4934, allocations: 23.94 kB / 0.6234 GB, free: 2.199 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001061/0.4944, allocations: 0.7519 MB / 0.6241 GB, free: 1.441 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4944, allocations: 4 kB / 0.6241 GB, free: 1.438 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001348/0.4958, allocations: 300 kB / 0.6244 GB, free: 1.145 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.002064/0.4978, allocations: 1.68 MB / 0.626 GB, free: 15.38 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001933/0.4998, allocations: 1.069 MB / 0.6271 GB, free: 14.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.4998, allocations: 4 kB / 0.6271 GB, free: 14.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006117/0.5004, allocations: 392.2 kB / 0.6274 GB, free: 13.91 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.5015, allocations: 187 kB / 0.6276 GB, free: 13.73 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01667/0.5181, allocations: 11.52 MB / 0.6389 GB, free: 1.156 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/0.5192, allocations: 0.859 MB / 0.6397 GB, free: 268 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009638/0.5202, allocations: 409.6 kB / 0.6401 GB, free: 15.86 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006829/0.5209, allocations: 0.5812 MB / 0.6407 GB, free: 15.28 MB / 494.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5209, allocations: 3.938 kB / 0.6407 GB, free: 15.27 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05874/0.5796, allocations: 24.25 MB / 0.6644 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/15.13, allocations: 8.047 kB / 0.6644 GB, free: 7.418 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.900166337029077]