Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002174/0.002174, allocations: 108.3 kB / 20.48 MB, free: 0.9805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002522/0.002522, allocations: 219.2 kB / 23.78 MB, free: 4.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 230.5 MB / 257.5 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2385/0.2385, allocations: 46.95 MB / 360.9 MB, free: 3.883 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00265/0.00265, allocations: 91.8 kB / 0.4963 GB, free: 7.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.406, allocations: 66.08 MB / 0.5608 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01139/0.4174, allocations: 7.639 MB / 0.5682 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008203/0.4256, allocations: 3.29 MB / 0.5715 GB, free: 9.055 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.4271, allocations: 55.75 kB / 0.5715 GB, free: 9 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003069/0.4302, allocations: 1.32 MB / 0.5728 GB, free: 7.676 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002744/0.4329, allocations: 0.9379 MB / 0.5737 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.4342, allocations: 0.5225 MB / 0.5742 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002654/0.4368, allocations: 1.729 MB / 0.5759 GB, free: 4.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001757/0.4386, allocations: 1.249 MB / 0.5771 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.4396, allocations: 0.6776 MB / 0.5778 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/0.441, allocations: 0.8799 MB / 0.5787 GB, free: 1.625 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002501/0.4413, allocations: 136 kB / 0.5788 GB, free: 1.492 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.4423, allocations: 0.55 MB / 0.5793 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007878/0.4431, allocations: 0.7518 MB / 0.5801 GB, free: 192 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008157/0.4439, allocations: 0.649 MB / 0.5807 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00311/0.447, allocations: 2.506 MB / 0.5831 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.447, allocations: 0 / 0.5831 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.447, allocations: 0 / 0.5831 GB, free: 13.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.025e-05/0.4471, allocations: 0 / 0.5831 GB, free: 13.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.004556/0.4517, allocations: 1.986 MB / 0.5851 GB, free: 10.99 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.4517, allocations: 12.03 kB / 0.5851 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003872/0.4521, allocations: 245.5 kB / 0.5853 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/0.4535, allocations: 311.5 kB / 0.5856 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003016/0.4565, allocations: 1.226 MB / 0.5868 GB, free: 9.172 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-05/0.4566, allocations: 102.4 kB / 0.5869 GB, free: 9.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002308/0.4568, allocations: 124 kB / 0.587 GB, free: 8.949 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006498/0.4633, allocations: 3.05 MB / 0.59 GB, free: 5.691 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.502e-05/0.4634, allocations: 11.89 kB / 0.59 GB, free: 5.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.4635, allocations: 59.97 kB / 0.5901 GB, free: 5.621 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006953/0.4642, allocations: 430 kB / 0.5905 GB, free: 5.199 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005147/0.4694, allocations: 2.163 MB / 0.5926 GB, free: 3.027 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01515/0.4845, allocations: 10.27 MB / 0.6026 GB, free: 8.484 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004165/0.4887, allocations: 1.27 MB / 0.6039 GB, free: 7.195 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006348/0.4893, allocations: 379 kB / 0.6042 GB, free: 6.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004076/0.4934, allocations: 2.03 MB / 0.6062 GB, free: 4.766 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.4934, allocations: 39.06 kB / 0.6062 GB, free: 4.719 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.164e-06/0.4934, allocations: 0 / 0.6062 GB, free: 4.719 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01214/0.5056, allocations: 3.762 MB / 0.6099 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/0.5056, allocations: 89.61 kB / 0.61 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.5073, allocations: 1.24 MB / 0.6112 GB, free: 15.54 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.21e-05/0.5073, allocations: 37.7 kB / 0.6113 GB, free: 15.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007425/0.5081, allocations: 0.9585 MB / 0.6122 GB, free: 14.53 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.5083, allocations: 234.2 kB / 0.6124 GB, free: 14.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000436/0.5087, allocations: 315.3 kB / 0.6127 GB, free: 13.98 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.5089, allocations: 301.1 kB / 0.613 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007018/0.5096, allocations: 411.7 kB / 0.6134 GB, free: 13.28 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.511, allocations: 1.271 MB / 0.6146 GB, free: 11.59 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002338/0.5133, allocations: 1.808 MB / 0.6164 GB, free: 9.375 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-05/0.5133, allocations: 8 kB / 0.6164 GB, free: 9.367 MB / 462.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002985/0.5163, allocations: 1.729 MB / 0.6181 GB, free: 7.625 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.5163, allocations: 16.19 kB / 0.6181 GB, free: 7.609 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-05/0.5164, allocations: 32 kB / 0.6181 GB, free: 7.578 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002561/0.5166, allocations: 84.83 kB / 0.6182 GB, free: 7.492 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.5177, allocations: 347.4 kB / 0.6186 GB, free: 7.152 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001889/0.5196, allocations: 1.773 MB / 0.6203 GB, free: 5.262 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009842/0.5206, allocations: 68.05 kB / 0.6204 GB, free: 5.195 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.5207, allocations: 92.08 kB / 0.6204 GB, free: 5.105 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.001027/0.5217, allocations: 0.6361 MB / 0.6211 GB, free: 4.461 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.5219, allocations: 123.2 kB / 0.6212 GB, free: 4.34 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000268/0.5222, allocations: 135.6 kB / 0.6213 GB, free: 4.203 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.5222, allocations: 11.94 kB / 0.6213 GB, free: 4.191 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.5222, allocations: 0 / 0.6213 GB, free: 4.191 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.5222, allocations: 7.984 kB / 0.6213 GB, free: 4.184 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00408/0.5263, allocations: 2.138 MB / 0.6234 GB, free: 1.949 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/0.5263, allocations: 4 kB / 0.6234 GB, free: 1.945 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004209/0.5267, allocations: 99.88 kB / 0.6235 GB, free: 1.848 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002136/0.527, allocations: 56.83 kB / 0.6236 GB, free: 1.789 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.869e-05/0.527, allocations: 16 kB / 0.6236 GB, free: 1.773 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/0.529, allocations: 1.837 MB / 0.6254 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.211e-05/0.529, allocations: 7.984 kB / 0.6254 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.531, allocations: 1.115 MB / 0.6265 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003856/0.5314, allocations: 119.3 kB / 0.6266 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.5315, allocations: 12 kB / 0.6266 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/0.5319, allocations: 31.91 kB / 0.6266 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.5321, allocations: 47.88 kB / 0.6267 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.771e-05/0.5321, allocations: 28.05 kB / 0.6267 GB, free: 14.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001361/0.5335, allocations: 0.7557 MB / 0.6274 GB, free: 13.64 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5335, allocations: 0 / 0.6274 GB, free: 13.64 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001795/0.5353, allocations: 296 kB / 0.6277 GB, free: 13.35 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.002368/0.5376, allocations: 1.681 MB / 0.6294 GB, free: 11.59 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002235/0.5399, allocations: 1.069 MB / 0.6304 GB, free: 10.51 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.5399, allocations: 0 / 0.6304 GB, free: 10.51 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006558/0.5405, allocations: 396 kB / 0.6308 GB, free: 10.11 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.5418, allocations: 184.7 kB / 0.631 GB, free: 9.93 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01812/0.5599, allocations: 11.51 MB / 0.6422 GB, free: 13.36 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001449/0.5613, allocations: 0.8591 MB / 0.643 GB, free: 12.47 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001149/0.5625, allocations: 409.6 kB / 0.6434 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008242/0.5633, allocations: 0.5784 MB / 0.644 GB, free: 11.49 MB / 494.1 MB Notification: Performance of SimCode: time 1.773e-06/0.5633, allocations: 0 / 0.644 GB, free: 11.49 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08416/0.6475, allocations: 24.06 MB / 0.6675 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.54, allocations: 6.188 kB / 0.6675 GB, free: 3.738 MB / 0.4981 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.735523245995864]