Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.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.00129/0.00129, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001428/0.001428, allocations: 210.7 kB / 23.74 MB, free: 4.66 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2321/0.2321, allocations: 46.94 MB / 360.9 MB, free: 4.254 MB / 286.1 MB " [Timeout remaining time 180] 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.Forces.Spring,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 67.83 kB / 0.4962 GB, free: 7.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4137, allocations: 66.05 MB / 0.5607 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.0137/0.4274, allocations: 11.43 MB / 0.5718 GB, free: 8.973 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009603/0.437, allocations: 4.113 MB / 0.5758 GB, free: 4.852 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002634/0.4396, allocations: 75.62 kB / 0.5759 GB, free: 4.777 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00551/0.4451, allocations: 2.53 MB / 0.5784 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006148/0.4513, allocations: 1.895 MB / 0.5802 GB, free: 344 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.4533, allocations: 0.7838 MB / 0.581 GB, free: 15.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007409/0.4607, allocations: 4.504 MB / 0.5854 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00467/0.4654, allocations: 2.787 MB / 0.5881 GB, free: 8.199 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003053/0.4684, allocations: 1.585 MB / 0.5897 GB, free: 6.609 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0042/0.4726, allocations: 2.391 MB / 0.592 GB, free: 4.211 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00117/0.4738, allocations: 332 kB / 0.5923 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002517/0.4763, allocations: 0.987 MB / 0.5933 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002582/0.4789, allocations: 1.975 MB / 0.5952 GB, free: 0.918 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003354/0.4822, allocations: 2.245 MB / 0.5974 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007982/0.4902, allocations: 6.847 MB / 0.6041 GB, free: 7.785 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4902, allocations: 0 / 0.6041 GB, free: 7.785 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4902, allocations: 0 / 0.6041 GB, free: 7.785 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001802/0.4904, allocations: 0 / 0.6041 GB, free: 7.785 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: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.009271/0.4997, allocations: 4.865 MB / 0.6088 GB, free: 2.859 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.4997, allocations: 8.031 kB / 0.6089 GB, free: 2.852 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009958/0.5007, allocations: 0.7358 MB / 0.6096 GB, free: 2.105 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007147/0.5079, allocations: 1.987 MB / 0.6115 GB, free: 116 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005448/0.5133, allocations: 2.718 MB / 0.6142 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002242/0.5136, allocations: 266.2 kB / 0.6144 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000563/0.5141, allocations: 323.8 kB / 0.6147 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01867/0.5328, allocations: 10.23 MB / 0.6247 GB, free: 1.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001383/0.5329, allocations: 51.56 kB / 0.6248 GB, free: 1.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004162/0.5333, allocations: 163.8 kB / 0.6249 GB, free: 1.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002897/0.5362, allocations: 1.904 MB / 0.6268 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01683/0.5531, allocations: 8.169 MB / 0.6348 GB, free: 7.426 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05142/0.6045, allocations: 39.18 MB / 0.673 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007927/0.6124, allocations: 2.721 MB / 0.6757 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001797/0.6142, allocations: 0.9631 MB / 0.6766 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01008/0.6243, allocations: 4.574 MB / 0.6811 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.689e-05/0.6243, allocations: 51.5 kB / 0.6811 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 7.043e-06/0.6244, allocations: 3.984 kB / 0.6811 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02757/0.6519, allocations: 9.608 MB / 0.6905 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002007/0.6521, allocations: 204.9 kB / 0.6907 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009351/0.6615, allocations: 4.064 MB / 0.6947 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003333/0.6618, allocations: 45.7 kB / 0.6947 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003592/0.6654, allocations: 3.318 MB / 0.698 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001042/0.6664, allocations: 0.6552 MB / 0.6986 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002694/0.6691, allocations: 1.215 MB / 0.6998 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.6693, allocations: 309.1 kB / 0.7001 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003271/0.6726, allocations: 1.644 MB / 0.7017 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007554/0.6802, allocations: 5.514 MB / 0.7071 GB, free: 9.938 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01153/0.6917, allocations: 7.77 MB / 0.7147 GB, free: 248 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001451/0.6918, allocations: 40 kB / 0.7147 GB, free: 208 kB / 0.545 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01511/0.7069, allocations: 6.899 MB / 0.7214 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001575/0.7071, allocations: 64.19 kB / 0.7215 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002401/0.7073, allocations: 140 kB / 0.7216 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002468/0.7076, allocations: 180 kB / 0.7218 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004751/0.7123, allocations: 1.431 MB / 0.7232 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002918/0.7126, allocations: 267 kB / 0.7235 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004664/0.7173, allocations: 303.6 kB / 0.7238 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009941/0.7183, allocations: 380 kB / 0.7241 GB, free: 6.562 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (767): * Single equations (assignments): 764 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004147/0.7224, allocations: 2.037 MB / 0.7261 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009367/0.7234, allocations: 365.5 kB / 0.7265 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.7244, allocations: 419.2 kB / 0.7269 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-05/0.7244, allocations: 20 kB / 0.7269 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.7244, allocations: 0 / 0.7269 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.448e-05/0.7245, allocations: 15.91 kB / 0.7269 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2968/1.021, allocations: 5.799 MB / 0.7326 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.388e-05/1.021, allocations: 17.34 kB / 0.7326 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/1.022, allocations: 290.4 kB / 0.7328 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.069e-05/1.022, allocations: 27.81 kB / 0.7329 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.672e-05/1.022, allocations: 49.89 kB / 0.7329 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.34e-05/1.022, allocations: 31.66 kB / 0.733 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.401e-05/1.022, allocations: 28.38 kB / 0.733 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003814/1.026, allocations: 3.324 MB / 0.7362 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/1.027, allocations: 359.8 kB / 0.7366 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000313/1.028, allocations: 55.42 kB / 0.7366 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/1.029, allocations: 63.02 kB / 0.7367 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/1.029, allocations: 149.9 kB / 0.7368 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/1.029, allocations: 68.69 kB / 0.7369 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00349/1.032, allocations: 2.51 MB / 0.7393 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.032, allocations: 0 / 0.7393 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004435/1.037, allocations: 0.8842 MB / 0.7402 GB, free: 147.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.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 (145): * Single equations (assignments): 142 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003572/1.04, allocations: 3.994 MB / 0.7441 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005595/1.046, allocations: 3.674 MB / 0.7477 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/1.046, allocations: 9.156 kB / 0.7477 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000849/1.047, allocations: 0.7029 MB / 0.7484 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/1.049, allocations: 471.1 kB / 0.7488 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0433/1.093, allocations: 41.76 MB / 0.7896 GB, free: 97.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002527/1.095, allocations: 3.17 MB / 0.7927 GB, free: 94.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003444/1.099, allocations: 1.816 MB / 0.7945 GB, free: 92.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001661/1.1, allocations: 1.866 MB / 0.7963 GB, free: 91.01 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/1.1, allocations: 0 / 0.7963 GB, free: 91.01 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1055/1.206, allocations: 64.01 MB / 0.8588 GB, free: 27.44 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.28/24.49, allocations: 11.78 kB / 0.8588 GB, free: 27.43 MB / 0.5606 GB " [Timeout remaining time 635] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_Spring_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.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: 28.182393037946895]