Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001791/0.001791, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002122/0.002122, allocations: 218.2 kB / 24.52 MB, free: 3.91 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.454/1.454, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2243/0.2243, allocations: 44.93 MB / 359.6 MB, free: 6.062 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Forces_Spring",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Spring",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002032/0.002032, allocations: 67.91 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.347, allocations: 65.48 MB / 0.5577 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.0127/0.3597, allocations: 9.862 MB / 0.5674 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009212/0.3689, allocations: 3.869 MB / 0.5712 GB, free: 9.727 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00218/0.3711, allocations: 79.62 kB / 0.5712 GB, free: 9.648 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005513/0.3766, allocations: 2.433 MB / 0.5736 GB, free: 7.207 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005767/0.3823, allocations: 1.906 MB / 0.5755 GB, free: 5.293 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002339/0.3847, allocations: 0.7722 MB / 0.5762 GB, free: 4.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007489/0.3922, allocations: 4.507 MB / 0.5806 GB, free: 4 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005017/0.3972, allocations: 2.791 MB / 0.5833 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003568/0.4008, allocations: 1.581 MB / 0.5849 GB, free: 11.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004598/0.4054, allocations: 2.403 MB / 0.5872 GB, free: 9.164 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001419/0.4068, allocations: 332 kB / 0.5876 GB, free: 8.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002837/0.4096, allocations: 0.87 MB / 0.5884 GB, free: 7.969 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003084/0.4127, allocations: 1.967 MB / 0.5903 GB, free: 5.996 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003827/0.4165, allocations: 1.674 MB / 0.592 GB, free: 4.312 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.4267, allocations: 6.882 MB / 0.5987 GB, free: 13.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.4267, allocations: 0 / 0.5987 GB, free: 13.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4267, allocations: 0 / 0.5987 GB, free: 13.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002895/0.427, allocations: 0 / 0.5987 GB, free: 13.4 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.01275/0.4397, allocations: 4.865 MB / 0.6034 GB, free: 8.477 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.303e-05/0.4398, allocations: 12.03 kB / 0.6034 GB, free: 8.465 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002161/0.44, allocations: 106.6 kB / 0.6035 GB, free: 8.359 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001648/0.4416, allocations: 0.7241 MB / 0.6043 GB, free: 7.625 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008048/0.4497, allocations: 1.999 MB / 0.6062 GB, free: 5.621 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006872/0.4566, allocations: 2.73 MB / 0.6089 GB, free: 2.836 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002599/0.4568, allocations: 258.3 kB / 0.6091 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008849/0.4577, allocations: 323.8 kB / 0.6094 GB, free: 2.266 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01954/0.4773, allocations: 10.34 MB / 0.6195 GB, free: 7.098 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001474/0.4774, allocations: 55.56 kB / 0.6196 GB, free: 7.043 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005373/0.4779, allocations: 155.9 kB / 0.6197 GB, free: 6.891 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003055/0.481, allocations: 1.9 MB / 0.6216 GB, free: 4.988 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01771/0.4987, allocations: 8.177 MB / 0.6296 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05179/0.5505, allocations: 37.81 MB / 0.6665 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008362/0.5589, allocations: 2.717 MB / 0.6691 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00175/0.5606, allocations: 0.9595 MB / 0.6701 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008827/0.5694, allocations: 4.34 MB / 0.6743 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.333e-05/0.5695, allocations: 55.5 kB / 0.6744 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 4.568e-06/0.5695, allocations: 0 / 0.6744 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02414/0.5936, allocations: 9.601 MB / 0.6837 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.5938, allocations: 200.9 kB / 0.6839 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006237/0.6, allocations: 4.068 MB / 0.6879 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000231/0.6002, allocations: 49.69 kB / 0.688 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002658/0.6029, allocations: 3.31 MB / 0.6912 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008082/0.6037, allocations: 0.6591 MB / 0.6918 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001723/0.6054, allocations: 1.219 MB / 0.693 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.6056, allocations: 305.1 kB / 0.6933 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002863/0.6084, allocations: 1.644 MB / 0.6949 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006265/0.6147, allocations: 5.572 MB / 0.7004 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01009/0.6248, allocations: 7.778 MB / 0.708 GB, free: 7.148 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001506/0.6249, allocations: 44 kB / 0.708 GB, free: 7.105 MB / 0.545 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01447/0.6394, allocations: 6.888 MB / 0.7147 GB, free: 216 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.6395, allocations: 63.62 kB / 0.7148 GB, free: 156 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002019/0.6397, allocations: 140 kB / 0.7149 GB, free: 16 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002138/0.6399, allocations: 180 kB / 0.7151 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004542/0.6445, allocations: 1.431 MB / 0.7165 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002394/0.6447, allocations: 270.9 kB / 0.7168 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004011/0.6487, allocations: 299.6 kB / 0.717 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008067/0.6495, allocations: 372 kB / 0.7174 GB, free: 13.48 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.00373/0.6533, allocations: 2.044 MB / 0.7194 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007346/0.654, allocations: 369.5 kB / 0.7197 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009066/0.6549, allocations: 418.7 kB / 0.7201 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.474e-05/0.6549, allocations: 16 kB / 0.7202 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/0.655, allocations: 3.938 kB / 0.7202 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/0.655, allocations: 11.97 kB / 0.7202 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/0.6658, allocations: 5.556 MB / 0.7256 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.491e-05/0.6658, allocations: 16.47 kB / 0.7256 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.6669, allocations: 287.5 kB / 0.7259 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.009e-05/0.6669, allocations: 24.72 kB / 0.7259 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/0.6671, allocations: 51.98 kB / 0.726 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.09e-05/0.6671, allocations: 35.86 kB / 0.726 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.427e-05/0.6671, allocations: 31.81 kB / 0.726 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004797/0.6719, allocations: 3.321 MB / 0.7293 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.6729, allocations: 357.4 kB / 0.7296 GB, free: 424 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004894/0.6734, allocations: 55.98 kB / 0.7297 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/0.6747, allocations: 59.95 kB / 0.7297 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002357/0.675, allocations: 159.3 kB / 0.7299 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/0.6751, allocations: 63.98 kB / 0.7299 GB, free: 84 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.2955/0.9706, allocations: 2.513 MB / 0.7324 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.71e-07/0.9706, allocations: 0 / 0.7324 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004953/0.9755, allocations: 0.8806 MB / 0.7332 GB, free: 155.2 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.003902/0.9794, allocations: 3.993 MB / 0.7371 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005309/0.9848, allocations: 3.657 MB / 0.7407 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.14e-05/0.9848, allocations: 3.094 kB / 0.7407 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009549/0.9857, allocations: 0.7175 MB / 0.7414 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003183/0.9889, allocations: 473.2 kB / 0.7419 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04888/1.038, allocations: 41.77 MB / 0.7827 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00337/1.041, allocations: 2.637 MB / 0.7852 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003569/1.045, allocations: 1.805 MB / 0.787 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002047/1.047, allocations: 1.866 MB / 0.7888 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.774e-06/1.047, allocations: 4 kB / 0.7888 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09586/1.143, allocations: 61.21 MB / 0.8486 GB, free: 40.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.93/30.07, allocations: 14.77 kB / 0.8486 GB, free: 40.89 MB / 0.5606 GB " [Timeout remaining time 630] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Spring_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 34.47838300606236]