Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002048/0.002048, allocations: 101.9 kB / 20.48 MB, free: 1.246 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.002593/0.002593, allocations: 221.9 kB / 23.78 MB, free: 4.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 207.7 MB / 234.6 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2188/0.2188, allocations: 44.27 MB / 331.1 MB, free: 9.418 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Forces_Spring",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 67.91 kB / 468.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1251, allocations: 61.05 MB / 0.5169 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01332/0.1384, allocations: 9.947 MB / 0.5266 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008873/0.1473, allocations: 3.852 MB / 0.5304 GB, free: 9.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002106/0.1494, allocations: 79.62 kB / 0.5305 GB, free: 9.242 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005471/0.1549, allocations: 2.441 MB / 0.5329 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005605/0.1605, allocations: 1.938 MB / 0.5348 GB, free: 4.848 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.1625, allocations: 0.7839 MB / 0.5355 GB, free: 4.062 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2522/0.4147, allocations: 4.451 MB / 0.5399 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005103/0.4198, allocations: 2.798 MB / 0.5426 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003795/0.4236, allocations: 1.61 MB / 0.5442 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005036/0.4287, allocations: 2.415 MB / 0.5465 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001818/0.4305, allocations: 333.6 kB / 0.5468 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003631/0.4341, allocations: 0.8909 MB / 0.5477 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003814/0.4379, allocations: 1.992 MB / 0.5497 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005494/0.4434, allocations: 1.702 MB / 0.5513 GB, free: 9.652 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01267/0.4561, allocations: 6.971 MB / 0.5581 GB, free: 7.648 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4561, allocations: 4.156 kB / 0.5581 GB, free: 7.648 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4561, allocations: 0 / 0.5581 GB, free: 7.648 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003591/0.4565, allocations: 1.75 kB / 0.5581 GB, free: 7.648 MB / 414.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.01609/0.4725, allocations: 4.931 MB / 0.563 GB, free: 5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.4726, allocations: 9.094 kB / 0.563 GB, free: 5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000303/0.4729, allocations: 111.5 kB / 0.5631 GB, free: 4.992 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00224/0.4751, allocations: 0.7273 MB / 0.5638 GB, free: 4.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008738/0.4839, allocations: 2 MB / 0.5657 GB, free: 4.285 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009238/0.4931, allocations: 3.237 MB / 0.5689 GB, free: 2.672 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002848/0.4934, allocations: 256.5 kB / 0.5691 GB, free: 2.586 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001449/0.4949, allocations: 328.2 kB / 0.5694 GB, free: 2.508 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02277/0.5176, allocations: 10.31 MB / 0.5795 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002117/0.5178, allocations: 52.33 kB / 0.5796 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008511/0.5187, allocations: 159.5 kB / 0.5797 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003034/0.5217, allocations: 1.907 MB / 0.5816 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01865/0.5404, allocations: 8.144 MB / 0.5895 GB, free: 6.371 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0556/0.596, allocations: 37.86 MB / 0.6265 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008167/0.6041, allocations: 2.701 MB / 0.6291 GB, free: 13.15 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001873/0.606, allocations: 0.9636 MB / 0.6301 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0108/0.6168, allocations: 4.332 MB / 0.6343 GB, free: 7.867 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/0.6169, allocations: 55.5 kB / 0.6344 GB, free: 7.805 MB / 478.1 MB Notification: Performance of pre-optimization done (n=148): time 6.322e-06/0.6169, allocations: 4 kB / 0.6344 GB, free: 7.801 MB / 478.1 MB Notification: Performance of matching and sorting (n=160): time 0.02706/0.6439, allocations: 9.634 MB / 0.6438 GB, free: 14.14 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.6441, allocations: 200.9 kB / 0.644 GB, free: 13.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007921/0.652, allocations: 4.097 MB / 0.648 GB, free: 9.777 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003316/0.6523, allocations: 49.7 kB / 0.648 GB, free: 9.723 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003283/0.6556, allocations: 3.316 MB / 0.6513 GB, free: 6.422 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009985/0.6566, allocations: 0.6646 MB / 0.6519 GB, free: 5.766 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002352/0.659, allocations: 1.219 MB / 0.6531 GB, free: 4.535 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.6591, allocations: 308.9 kB / 0.6534 GB, free: 4.234 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00346/0.6626, allocations: 1.632 MB / 0.655 GB, free: 2.594 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007564/0.6701, allocations: 5.559 MB / 0.6604 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01119/0.6813, allocations: 7.758 MB / 0.668 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001986/0.6815, allocations: 43.98 kB / 0.668 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01621/0.6977, allocations: 6.872 MB / 0.6747 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001228/0.6979, allocations: 68.06 kB / 0.6748 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002361/0.6981, allocations: 140 kB / 0.6749 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002034/0.6983, allocations: 180 kB / 0.6751 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00524/0.7035, allocations: 1.427 MB / 0.6765 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002786/0.7038, allocations: 263 kB / 0.6768 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005181/0.709, allocations: 306.7 kB / 0.6771 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00118/0.7102, allocations: 372 kB / 0.6774 GB, free: 8.059 MB / 0.5137 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.004756/0.7149, allocations: 2.04 MB / 0.6794 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008394/0.7158, allocations: 369.5 kB / 0.6798 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002766/0.7185, allocations: 1.349 MB / 0.6811 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-05/0.7186, allocations: 16 kB / 0.6811 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.7186, allocations: 0 / 0.6811 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.857e-05/0.7186, allocations: 12.91 kB / 0.6811 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/0.7312, allocations: 5.551 MB / 0.6865 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.409e-05/0.7313, allocations: 19.28 kB / 0.6865 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.7325, allocations: 287.6 kB / 0.6868 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-05/0.7325, allocations: 24 kB / 0.6868 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/0.7327, allocations: 47.62 kB / 0.6869 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.288e-05/0.7327, allocations: 36.95 kB / 0.6869 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.168e-05/0.7327, allocations: 27.88 kB / 0.6869 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004769/0.7375, allocations: 3.304 MB / 0.6902 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001563/0.7391, allocations: 477.3 kB / 0.6906 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006392/0.7397, allocations: 51.98 kB / 0.6907 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/0.7412, allocations: 63.95 kB / 0.6907 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002371/0.7414, allocations: 151.3 kB / 0.6909 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.7415, allocations: 71.89 kB / 0.6909 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005516/0.747, allocations: 2.536 MB / 0.6934 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.747, allocations: 0 / 0.6934 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006271/0.7533, allocations: 0.8984 MB / 0.6943 GB, free: 6.234 MB / 0.5294 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.005626/0.7589, allocations: 3.967 MB / 0.6982 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007604/0.7665, allocations: 3.651 MB / 0.7017 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.834e-05/0.7666, allocations: 0 / 0.7017 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001288/0.7679, allocations: 0.7047 MB / 0.7024 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003773/0.7716, allocations: 478.1 kB / 0.7029 GB, free: 13.24 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07893/0.8506, allocations: 41.9 MB / 0.7438 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005638/0.8562, allocations: 2.647 MB / 0.7464 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004755/0.861, allocations: 1.816 MB / 0.7482 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003493/0.8645, allocations: 1.874 MB / 0.75 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of SimCode: time 1.633e-06/0.8645, allocations: 0 / 0.75 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3723/1.237, allocations: 61.57 MB / 0.8101 GB, free: 204.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.94/26.18, allocations: 7.281 kB / 0.8101 GB, free: 204.9 MB / 0.6075 GB " [Timeout remaining time 634] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 30.579695015912876]