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.001627/0.001627, allocations: 110 kB / 20.43 MB, free: 1.453 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.001979/0.001979, allocations: 212.9 kB / 23.74 MB, free: 4.66 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.54/1.54, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.245/0.245, allocations: 46.93 MB / 360.8 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 179] 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.002505/0.002505, allocations: 75.88 kB / 0.4962 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3942, allocations: 66.09 MB / 0.5607 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.0114/0.4056, allocations: 8.703 MB / 0.5692 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007996/0.4136, allocations: 3.508 MB / 0.5727 GB, free: 8.016 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001808/0.4154, allocations: 51.75 kB / 0.5727 GB, free: 7.965 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003043/0.4184, allocations: 1.39 MB / 0.5741 GB, free: 6.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002834/0.4213, allocations: 0.9407 MB / 0.575 GB, free: 5.629 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.4226, allocations: 0.5108 MB / 0.5755 GB, free: 5.117 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002789/0.4254, allocations: 1.73 MB / 0.5772 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00167/0.4271, allocations: 1.249 MB / 0.5784 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.4283, allocations: 0.6776 MB / 0.5791 GB, free: 1.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.4299, allocations: 0.9424 MB / 0.58 GB, free: 476 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002463/0.4301, allocations: 140 kB / 0.5801 GB, free: 336 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.4315, allocations: 0.589 MB / 0.5807 GB, free: 15.74 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008521/0.4323, allocations: 0.7479 MB / 0.5814 GB, free: 14.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009931/0.4333, allocations: 0.8354 MB / 0.5822 GB, free: 14.15 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003612/0.437, allocations: 2.479 MB / 0.5847 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.437, allocations: 0 / 0.5847 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.437, allocations: 4 kB / 0.5847 GB, free: 11.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.99e-05/0.437, allocations: 3.938 kB / 0.5847 GB, free: 11.65 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.004236/0.4412, allocations: 1.986 MB / 0.5866 GB, free: 9.625 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.349e-05/0.4413, allocations: 8.031 kB / 0.5866 GB, free: 9.617 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003419/0.4416, allocations: 241.5 kB / 0.5868 GB, free: 9.371 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.4429, allocations: 283.5 kB / 0.5871 GB, free: 9.094 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002963/0.4459, allocations: 1.23 MB / 0.5883 GB, free: 7.836 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.446, allocations: 94.39 kB / 0.5884 GB, free: 7.742 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002607/0.4462, allocations: 128 kB / 0.5885 GB, free: 7.617 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00629/0.4525, allocations: 2.999 MB / 0.5915 GB, free: 4.426 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.1e-05/0.4526, allocations: 15.89 kB / 0.5915 GB, free: 4.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.4527, allocations: 59.97 kB / 0.5915 GB, free: 4.352 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006529/0.4533, allocations: 434 kB / 0.5919 GB, free: 3.926 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004904/0.4582, allocations: 2.175 MB / 0.5941 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01403/0.4723, allocations: 10.65 MB / 0.6045 GB, free: 6.816 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003859/0.4761, allocations: 1.202 MB / 0.6056 GB, free: 5.602 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000616/0.4768, allocations: 375 kB / 0.606 GB, free: 5.227 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004118/0.4809, allocations: 2.097 MB / 0.608 GB, free: 3.105 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.263e-05/0.4809, allocations: 39 kB / 0.6081 GB, free: 3.059 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.595e-06/0.4809, allocations: 0 / 0.6081 GB, free: 3.059 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01154/0.4925, allocations: 3.59 MB / 0.6116 GB, free: 15.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.114e-05/0.4925, allocations: 85.61 kB / 0.6117 GB, free: 15.31 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001676/0.4942, allocations: 1.186 MB / 0.6128 GB, free: 14.11 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.911e-05/0.4943, allocations: 37.7 kB / 0.6129 GB, free: 14.06 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000829/0.4951, allocations: 0.9702 MB / 0.6138 GB, free: 13.08 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/0.4953, allocations: 230.1 kB / 0.614 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004066/0.4957, allocations: 315.3 kB / 0.6143 GB, free: 12.54 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.4958, allocations: 301.1 kB / 0.6146 GB, free: 12.24 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006633/0.4965, allocations: 415.7 kB / 0.615 GB, free: 11.84 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.498, allocations: 1.25 MB / 0.6162 GB, free: 10.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002748/0.5007, allocations: 1.799 MB / 0.618 GB, free: 7.965 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-05/0.5008, allocations: 12 kB / 0.618 GB, free: 7.953 MB / 462.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003195/0.5039, allocations: 1.723 MB / 0.6197 GB, free: 6.219 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.967e-05/0.504, allocations: 16 kB / 0.6197 GB, free: 6.203 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-05/0.504, allocations: 32 kB / 0.6197 GB, free: 6.172 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002638/0.5043, allocations: 84.83 kB / 0.6198 GB, free: 6.086 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.5054, allocations: 359.8 kB / 0.6201 GB, free: 5.734 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002063/0.5075, allocations: 1.769 MB / 0.6219 GB, free: 3.848 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009251/0.5084, allocations: 63.98 kB / 0.6219 GB, free: 3.785 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.5085, allocations: 87.98 kB / 0.622 GB, free: 3.699 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.001014/0.5095, allocations: 0.6479 MB / 0.6227 GB, free: 3.043 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.5097, allocations: 119.2 kB / 0.6228 GB, free: 2.926 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.51, allocations: 139.7 kB / 0.6229 GB, free: 2.785 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.51, allocations: 4 kB / 0.6229 GB, free: 2.781 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.51, allocations: 0 / 0.6229 GB, free: 2.781 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.51, allocations: 7.922 kB / 0.6229 GB, free: 2.773 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00386/0.5139, allocations: 2.22 MB / 0.6251 GB, free: 468 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.5139, allocations: 4.125 kB / 0.6251 GB, free: 464 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003951/0.5143, allocations: 99.89 kB / 0.6252 GB, free: 364 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001999/0.5145, allocations: 69.25 kB / 0.6252 GB, free: 292 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/0.5145, allocations: 12 kB / 0.6253 GB, free: 280 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.5163, allocations: 1.833 MB / 0.627 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.5164, allocations: 8 kB / 0.6271 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001729/0.5181, allocations: 1.114 MB / 0.6281 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002548/0.5183, allocations: 111.2 kB / 0.6282 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.5184, allocations: 16 kB / 0.6283 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/0.5188, allocations: 31.98 kB / 0.6283 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.508e-05/0.5189, allocations: 43.86 kB / 0.6283 GB, free: 12.94 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.5189, allocations: 20 kB / 0.6284 GB, free: 12.92 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001137/0.5201, allocations: 0.7674 MB / 0.6291 GB, free: 12.15 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5201, allocations: 0 / 0.6291 GB, free: 12.15 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001571/0.5216, allocations: 292 kB / 0.6294 GB, free: 11.86 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.002209/0.5238, allocations: 1.684 MB / 0.631 GB, free: 10.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002134/0.526, allocations: 1.06 MB / 0.6321 GB, free: 9.027 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.526, allocations: 5.438 kB / 0.6321 GB, free: 9.023 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006321/0.5266, allocations: 399.1 kB / 0.6324 GB, free: 8.621 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009983/0.5276, allocations: 188.7 kB / 0.6326 GB, free: 8.434 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01745/0.5451, allocations: 11.52 MB / 0.6439 GB, free: 11.85 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/0.5464, allocations: 1.447 MB / 0.6453 GB, free: 10.38 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009898/0.5474, allocations: 405.6 kB / 0.6457 GB, free: 9.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007054/0.5481, allocations: 0.5774 MB / 0.6462 GB, free: 9.402 MB / 494.1 MB Notification: Performance of SimCode: time 1.833e-06/0.5481, allocations: 4 kB / 0.6462 GB, free: 9.398 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06654/0.6147, allocations: 24.31 MB / 0.67 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.24, allocations: 11 kB / 0.67 GB, free: 1.266 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: 17.51237389400194]