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.001698/0.001698, 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.002172/0.002172, allocations: 213.1 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.459/1.459, allocations: 230.5 MB / 257.4 MB, free: 7.977 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.2455/0.2455, allocations: 46.92 MB / 360.8 MB, free: 4.176 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.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.002409/0.002409, allocations: 79.88 kB / 0.4962 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4599/0.4623, allocations: 66.08 MB / 0.5607 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01578/0.4781, allocations: 12.34 MB / 0.5728 GB, free: 7.906 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.4881, allocations: 3.902 MB / 0.5766 GB, free: 3.992 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002449/0.4906, allocations: 71.75 kB / 0.5767 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003074/0.4937, allocations: 1.339 MB / 0.578 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004921/0.4986, allocations: 1.783 MB / 0.5797 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.4998, allocations: 419.1 kB / 0.5801 GB, free: 388 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005835/0.5056, allocations: 3.594 MB / 0.5836 GB, free: 12.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002952/0.5086, allocations: 1.838 MB / 0.5854 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002237/0.5108, allocations: 1.218 MB / 0.5866 GB, free: 9.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003026/0.5138, allocations: 1.919 MB / 0.5885 GB, free: 7.754 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006156/0.5145, allocations: 240 kB / 0.5887 GB, free: 7.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00194/0.5164, allocations: 0.8386 MB / 0.5895 GB, free: 6.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001852/0.5182, allocations: 1.601 MB / 0.5911 GB, free: 5.074 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002379/0.5206, allocations: 1.875 MB / 0.5929 GB, free: 3.188 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00839/0.529, allocations: 6.103 MB / 0.5989 GB, free: 13.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.529, allocations: 0 / 0.5989 GB, free: 13.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.529, allocations: 0 / 0.5989 GB, free: 13.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002011/0.5292, allocations: 0 / 0.5989 GB, free: 13.06 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.009332/0.5386, allocations: 4.08 MB / 0.6029 GB, free: 8.922 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.5386, allocations: 8.031 kB / 0.6029 GB, free: 8.914 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001134/0.5397, allocations: 0.7079 MB / 0.6036 GB, free: 8.195 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01053/0.5503, allocations: 3.098 MB / 0.6066 GB, free: 5.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005869/0.5561, allocations: 2.068 MB / 0.6086 GB, free: 2.984 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001942/0.5563, allocations: 188.8 kB / 0.6088 GB, free: 2.797 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008739/0.5572, allocations: 247.8 kB / 0.609 GB, free: 2.555 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01795/0.5752, allocations: 10.18 MB / 0.619 GB, free: 7.938 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.665e-05/0.5753, allocations: 23.81 kB / 0.619 GB, free: 7.914 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003995/0.5757, allocations: 119.8 kB / 0.6191 GB, free: 7.797 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0046/0.5803, allocations: 2.459 MB / 0.6215 GB, free: 5.336 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02107/0.6013, allocations: 9.364 MB / 0.6307 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05881/0.6601, allocations: 31.4 MB / 0.6613 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006489/0.6666, allocations: 2.346 MB / 0.6636 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001912/0.6685, allocations: 0.9938 MB / 0.6646 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009844/0.6695, allocations: 442.6 kB / 0.665 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.698e-05/0.6696, allocations: 43.88 kB / 0.665 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 5.23e-06/0.6696, allocations: 0 / 0.665 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.02122/0.6908, allocations: 8.943 MB / 0.6738 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.6909, allocations: 68.72 kB / 0.6738 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004092/0.695, allocations: 2.616 MB / 0.6764 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001922/0.6952, allocations: 53.69 kB / 0.6764 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002556/0.6977, allocations: 2.783 MB / 0.6792 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001013/0.6987, allocations: 0.7325 MB / 0.6799 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001498/0.7002, allocations: 0.9691 MB / 0.6808 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.7003, allocations: 301.1 kB / 0.6811 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002526/0.7029, allocations: 1.54 MB / 0.6826 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00524/0.7081, allocations: 4.375 MB / 0.6869 GB, free: 16 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008914/0.717, allocations: 6.567 MB / 0.6933 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-05/0.7171, allocations: 28 kB / 0.6933 GB, free: 8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.0109/0.728, allocations: 5.845 MB / 0.699 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.568e-05/0.7281, allocations: 48 kB / 0.6991 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001079/0.7282, allocations: 96.09 kB / 0.6992 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003841/0.7286, allocations: 180.8 kB / 0.6993 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003233/0.7318, allocations: 1.064 MB / 0.7004 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/0.7337, allocations: 1.689 MB / 0.702 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002916/0.7366, allocations: 211.9 kB / 0.7022 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004605/0.7371, allocations: 296 kB / 0.7025 GB, free: 14.46 MB / 0.545 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.003873/0.741, allocations: 1.998 MB / 0.7045 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005468/0.7415, allocations: 262.2 kB / 0.7047 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004289/0.7458, allocations: 2.526 MB / 0.7072 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-05/0.7458, allocations: 23.98 kB / 0.7072 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.7459, allocations: 8 kB / 0.7072 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.811e-05/0.7459, allocations: 7.969 kB / 0.7072 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01458/0.7604, allocations: 7.914 MB / 0.715 GB, free: 1.504 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.947e-05/0.7605, allocations: 8 kB / 0.715 GB, free: 1.496 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009825/0.7614, allocations: 251.5 kB / 0.7152 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001686/0.7616, allocations: 56.83 kB / 0.7153 GB, free: 1.191 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-05/0.7617, allocations: 39.98 kB / 0.7153 GB, free: 1.152 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/0.7633, allocations: 1.527 MB / 0.7168 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.159e-05/0.7633, allocations: 11.94 kB / 0.7168 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005689/0.769, allocations: 4.028 MB / 0.7207 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007286/0.7697, allocations: 234.2 kB / 0.721 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003126/0.77, allocations: 47.97 kB / 0.721 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007018/0.7707, allocations: 51.95 kB / 0.721 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/0.7709, allocations: 128.5 kB / 0.7212 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/0.7711, allocations: 64 kB / 0.7212 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002531/0.7736, allocations: 1.6 MB / 0.7228 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.7736, allocations: 0 / 0.7228 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003789/0.7774, allocations: 0.7812 MB / 0.7236 GB, free: 8.414 MB / 0.5606 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.006076/0.7835, allocations: 4.703 MB / 0.7282 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.3637/1.147, allocations: 3.713 MB / 0.7318 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.226e-05/1.147, allocations: 3.188 kB / 0.7318 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003139/1.15, allocations: 1.167 MB / 0.7329 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/1.153, allocations: 344.5 kB / 0.7332 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04874/1.202, allocations: 33.45 MB / 0.7659 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003533/1.205, allocations: 3.132 MB / 0.769 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003346/1.209, allocations: 1.712 MB / 0.7706 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002388/1.211, allocations: 1.694 MB / 0.7723 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of SimCode: time 2.284e-06/1.211, allocations: 4 kB / 0.7723 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1001/1.311, allocations: 49.94 MB / 0.8211 GB, free: 73.78 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.61/20.93, allocations: 2.25 kB / 0.8211 GB, free: 73.78 MB / 0.5606 GB " [Timeout remaining time 639] (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: 24.216047041998536]