Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00148/0.00148, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001766/0.001766, allocations: 213.1 kB / 23.74 MB, free: 4.672 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.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2539/0.2539, allocations: 46.94 MB / 360.9 MB, free: 4.254 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 68.08 kB / 0.4962 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3455, allocations: 66.04 MB / 0.5607 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01171/0.3572, allocations: 8.714 MB / 0.5692 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007643/0.3649, allocations: 3.508 MB / 0.5726 GB, free: 8.168 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.3662, allocations: 59.69 kB / 0.5726 GB, free: 8.109 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003176/0.3694, allocations: 1.382 MB / 0.574 GB, free: 6.723 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002698/0.3721, allocations: 0.93 MB / 0.5749 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.3735, allocations: 0.5263 MB / 0.5754 GB, free: 5.262 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003109/0.3766, allocations: 1.726 MB / 0.5771 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002171/0.3788, allocations: 1.257 MB / 0.5783 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001463/0.3802, allocations: 0.6815 MB / 0.579 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.3819, allocations: 0.9308 MB / 0.5799 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002701/0.3822, allocations: 140 kB / 0.58 GB, free: 488 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.3835, allocations: 0.589 MB / 0.5806 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001215/0.3847, allocations: 0.7441 MB / 0.5813 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.3858, allocations: 0.8392 MB / 0.5822 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003641/0.3894, allocations: 2.487 MB / 0.5846 GB, free: 11.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3894, allocations: 0 / 0.5846 GB, free: 11.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3894, allocations: 0 / 0.5846 GB, free: 11.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.387e-05/0.3895, allocations: 0 / 0.5846 GB, free: 11.8 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.004004/0.3935, allocations: 1.975 MB / 0.5865 GB, free: 9.785 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.3935, allocations: 15.97 kB / 0.5865 GB, free: 9.77 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003269/0.3939, allocations: 249.5 kB / 0.5868 GB, free: 9.516 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.3951, allocations: 283.5 kB / 0.587 GB, free: 9.238 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002905/0.398, allocations: 1.218 MB / 0.5882 GB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.864e-05/0.3981, allocations: 106.3 kB / 0.5883 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/0.3983, allocations: 120 kB / 0.5884 GB, free: 7.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006441/0.4047, allocations: 2.999 MB / 0.5914 GB, free: 4.578 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-05/0.4048, allocations: 23.88 kB / 0.5914 GB, free: 4.555 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/0.4049, allocations: 55.97 kB / 0.5915 GB, free: 4.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007313/0.4057, allocations: 430 kB / 0.5919 GB, free: 4.078 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004946/0.4106, allocations: 2.171 MB / 0.594 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01471/0.4253, allocations: 10.65 MB / 0.6044 GB, free: 6.969 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00399/0.4293, allocations: 1.199 MB / 0.6056 GB, free: 5.754 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006187/0.4299, allocations: 379 kB / 0.6059 GB, free: 5.375 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003971/0.4339, allocations: 2.093 MB / 0.608 GB, free: 3.258 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.4339, allocations: 43 kB / 0.608 GB, free: 3.207 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.154e-06/0.4339, allocations: 0 / 0.608 GB, free: 3.207 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01234/0.4463, allocations: 3.586 MB / 0.6115 GB, free: 15.56 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.632e-05/0.4464, allocations: 81.61 kB / 0.6116 GB, free: 15.46 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/0.4481, allocations: 1.194 MB / 0.6127 GB, free: 14.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.4481, allocations: 37.7 kB / 0.6128 GB, free: 14.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008231/0.449, allocations: 0.9702 MB / 0.6137 GB, free: 13.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000279/0.4492, allocations: 234.1 kB / 0.614 GB, free: 13 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005122/0.4497, allocations: 311.3 kB / 0.6142 GB, free: 12.69 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.4499, allocations: 301.1 kB / 0.6145 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006919/0.4506, allocations: 411.7 kB / 0.6149 GB, free: 11.99 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/0.4521, allocations: 1.25 MB / 0.6161 GB, free: 10.33 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002551/0.4547, allocations: 1.802 MB / 0.6179 GB, free: 8.113 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/0.4547, allocations: 8 kB / 0.6179 GB, free: 8.105 MB / 462.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002889/0.4576, allocations: 1.719 MB / 0.6196 GB, free: 6.375 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.4576, allocations: 19.98 kB / 0.6196 GB, free: 6.355 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.552e-05/0.4577, allocations: 28 kB / 0.6196 GB, free: 6.328 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002329/0.4579, allocations: 93.55 kB / 0.6197 GB, free: 6.234 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.459, allocations: 351.4 kB / 0.6201 GB, free: 5.891 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.4608, allocations: 1.777 MB / 0.6218 GB, free: 3.996 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008702/0.4617, allocations: 67.98 kB / 0.6219 GB, free: 3.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.4618, allocations: 84 kB / 0.6219 GB, free: 3.848 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.0009591/0.4628, allocations: 0.6419 MB / 0.6226 GB, free: 3.199 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.4629, allocations: 123.2 kB / 0.6227 GB, free: 3.078 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.4632, allocations: 135.6 kB / 0.6228 GB, free: 2.941 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.4632, allocations: 8 kB / 0.6228 GB, free: 2.934 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.4632, allocations: 0 / 0.6228 GB, free: 2.934 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/0.4632, allocations: 8.062 kB / 0.6228 GB, free: 2.926 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003666/0.4669, allocations: 2.207 MB / 0.625 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.4669, allocations: 4 kB / 0.625 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004056/0.4673, allocations: 104.3 kB / 0.6251 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001864/0.4675, allocations: 60.83 kB / 0.6252 GB, free: 464 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.753e-05/0.4675, allocations: 19.98 kB / 0.6252 GB, free: 444 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/0.4694, allocations: 1.841 MB / 0.627 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.4694, allocations: 4.062 kB / 0.627 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.4711, allocations: 1.115 MB / 0.6281 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002013/0.4713, allocations: 111.2 kB / 0.6282 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.4714, allocations: 19.98 kB / 0.6282 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003682/0.4718, allocations: 27.92 kB / 0.6282 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.147e-05/0.4718, allocations: 47.86 kB / 0.6283 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/0.4719, allocations: 20 kB / 0.6283 GB, free: 13.07 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001071/0.4729, allocations: 0.7635 MB / 0.629 GB, free: 12.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4729, allocations: 0 / 0.629 GB, free: 12.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001283/0.4742, allocations: 292 kB / 0.6293 GB, free: 12.02 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.002117/0.4763, allocations: 1.684 MB / 0.6309 GB, free: 10.25 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002171/0.4785, allocations: 1.065 MB / 0.632 GB, free: 9.18 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.4785, allocations: 4.625 kB / 0.632 GB, free: 9.176 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006559/0.4792, allocations: 394.1 kB / 0.6324 GB, free: 8.777 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.4803, allocations: 184.6 kB / 0.6325 GB, free: 8.598 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01751/0.4979, allocations: 11.51 MB / 0.6438 GB, free: 12.03 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001543/0.4994, allocations: 1.451 MB / 0.6452 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001064/0.5005, allocations: 413.5 kB / 0.6456 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007813/0.5012, allocations: 0.5774 MB / 0.6462 GB, free: 9.562 MB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5012, allocations: 0 / 0.6462 GB, free: 9.562 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06628/0.5675, allocations: 24.33 MB / 0.6699 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/14.57, allocations: 7.984 kB / 0.6699 GB, free: 1.461 MB / 0.4981 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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: 17.79940779599565]