Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.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.001447/0.001447, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.001548/0.001548, allocations: 214.6 kB / 20.75 MB, free: 2.328 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.519/1.519, allocations: 230.4 MB / 254 MB, free: 15.04 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.2389/0.2389, allocations: 46.92 MB / 357 MB, free: 10.21 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.Prismatic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002638/0.002638, allocations: 83.88 kB / 0.491 GB, free: 7.758 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1489, allocations: 66.04 MB / 0.5555 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.0161/0.165, allocations: 12.31 MB / 0.5675 GB, free: 9.207 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.1752, allocations: 3.886 MB / 0.5713 GB, free: 5.305 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002745/0.1779, allocations: 71.75 kB / 0.5714 GB, free: 5.234 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003913/0.1818, allocations: 1.339 MB / 0.5727 GB, free: 3.891 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005649/0.1875, allocations: 1.759 MB / 0.5744 GB, free: 2.125 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.1889, allocations: 423.2 kB / 0.5748 GB, free: 1.711 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006156/0.195, allocations: 3.597 MB / 0.5783 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003449/0.1985, allocations: 1.767 MB / 0.58 GB, free: 12.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00261/0.2011, allocations: 1.218 MB / 0.5812 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00337/0.2045, allocations: 1.912 MB / 0.5831 GB, free: 9.168 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001056/0.2055, allocations: 240 kB / 0.5833 GB, free: 8.934 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002465/0.208, allocations: 0.8425 MB / 0.5841 GB, free: 8.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00246/0.2104, allocations: 1.601 MB / 0.5857 GB, free: 6.484 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004077/0.2145, allocations: 1.879 MB / 0.5875 GB, free: 4.594 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3144/0.5289, allocations: 6.093 MB / 0.5935 GB, free: 11.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5289, allocations: 5.344 kB / 0.5935 GB, free: 11.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.5289, allocations: 0 / 0.5935 GB, free: 11.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003099/0.5292, allocations: 0 / 0.5935 GB, free: 11.56 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.01677/0.546, allocations: 4.141 MB / 0.5975 GB, free: 9.734 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.412e-05/0.546, allocations: 10.72 kB / 0.5975 GB, free: 9.734 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002944/0.549, allocations: 0.7005 MB / 0.5982 GB, free: 9.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01368/0.5627, allocations: 3.107 MB / 0.6013 GB, free: 9.375 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006102/0.5688, allocations: 2.14 MB / 0.6033 GB, free: 8.863 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002743/0.569, allocations: 184.9 kB / 0.6035 GB, free: 8.855 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001524/0.5706, allocations: 247.2 kB / 0.6038 GB, free: 8.852 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01916/0.5897, allocations: 10.18 MB / 0.6137 GB, free: 7.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/0.5898, allocations: 23.05 kB / 0.6137 GB, free: 7.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004972/0.5903, allocations: 120.6 kB / 0.6138 GB, free: 7.027 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004197/0.5945, allocations: 2.466 MB / 0.6163 GB, free: 6.621 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01776/0.6123, allocations: 9.351 MB / 0.6254 GB, free: 3.738 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05267/0.665, allocations: 31.52 MB / 0.6562 GB, free: 5.395 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006986/0.6719, allocations: 3.257 MB / 0.6593 GB, free: 1.914 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001867/0.6738, allocations: 0.9958 MB / 0.6603 GB, free: 0.918 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001456/0.6753, allocations: 1.307 MB / 0.6616 GB, free: 15.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.378e-05/0.6753, allocations: 47.88 kB / 0.6616 GB, free: 15.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 4.739e-06/0.6753, allocations: 0 / 0.6616 GB, free: 15.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.02355/0.6989, allocations: 9.168 MB / 0.6706 GB, free: 6.117 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/0.6989, allocations: 74.11 kB / 0.6707 GB, free: 6.031 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005416/0.7044, allocations: 2.61 MB / 0.6732 GB, free: 3.402 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000233/0.7046, allocations: 50.94 kB / 0.6733 GB, free: 3.352 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002726/0.7073, allocations: 2.777 MB / 0.676 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009876/0.7083, allocations: 0.7375 MB / 0.6767 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001878/0.7102, allocations: 0.9642 MB / 0.6776 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.7103, allocations: 308.9 kB / 0.6779 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002895/0.7132, allocations: 1.548 MB / 0.6794 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005365/0.7186, allocations: 4.373 MB / 0.6837 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008683/0.7273, allocations: 6.554 MB / 0.6901 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001072/0.7274, allocations: 32 kB / 0.6901 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01166/0.739, allocations: 5.843 MB / 0.6958 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.7392, allocations: 52.03 kB / 0.6959 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000187/0.7394, allocations: 100 kB / 0.696 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004377/0.7398, allocations: 172.8 kB / 0.6962 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003696/0.7435, allocations: 1.065 MB / 0.6972 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.7455, allocations: 1.787 MB / 0.6989 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003236/0.7487, allocations: 210.8 kB / 0.6991 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009158/0.7496, allocations: 293.7 kB / 0.6994 GB, free: 6.52 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (592): * Single equations (assignments): 585 * Array equations: 6 * 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.00432/0.754, allocations: 1.993 MB / 0.7014 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006791/0.7546, allocations: 262.2 kB / 0.7016 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004979/0.7596, allocations: 2.53 MB / 0.7041 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.817e-05/0.7597, allocations: 27.7 kB / 0.7041 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.7597, allocations: 0.625 kB / 0.7041 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.932e-05/0.7597, allocations: 7.969 kB / 0.7041 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01641/0.7761, allocations: 7.936 MB / 0.7119 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.013e-05/0.7761, allocations: 12 kB / 0.7119 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.7773, allocations: 243.6 kB / 0.7121 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000208/0.7775, allocations: 56.83 kB / 0.7122 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001697/0.7776, allocations: 43.98 kB / 0.7122 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/0.7793, allocations: 1.631 MB / 0.7138 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.349e-05/0.7794, allocations: 16.19 kB / 0.7138 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00645/0.7858, allocations: 4.03 MB / 0.7178 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008217/0.7866, allocations: 311.3 kB / 0.7181 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005517/0.7872, allocations: 46.34 kB / 0.7181 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.7883, allocations: 55.94 kB / 0.7182 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002717/0.7886, allocations: 124.6 kB / 0.7183 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/0.7887, allocations: 62.58 kB / 0.7183 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003396/0.7921, allocations: 1.6 MB / 0.7199 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7921, allocations: 5.781 kB / 0.7199 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004168/0.7963, allocations: 0.7845 MB / 0.7207 GB, free: 264 kB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (139): * Single equations (assignments): 132 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.006532/0.8028, allocations: 4.704 MB / 0.7253 GB, free: 11.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006651/0.8095, allocations: 3.716 MB / 0.7289 GB, free: 7.707 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/0.8095, allocations: 4 kB / 0.7289 GB, free: 7.703 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001856/0.8114, allocations: 1.158 MB / 0.73 GB, free: 6.531 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/0.8138, allocations: 350.6 kB / 0.7304 GB, free: 6.195 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05859/0.8724, allocations: 33.35 MB / 0.7629 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004303/0.8767, allocations: 3.126 MB / 0.766 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003833/0.8805, allocations: 1.706 MB / 0.7676 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00258/0.8831, allocations: 1.694 MB / 0.7693 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of SimCode: time 1.623e-06/0.8831, allocations: 0 / 0.7693 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09889/0.982, allocations: 45.98 MB / 0.8142 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.6/18.58, allocations: 7.062 kB / 0.8142 GB, free: 12.29 MB / 0.6387 GB " [Timeout remaining time 641] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.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: 21.865158009924926]