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.001247/0.001247, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001385/0.001385, allocations: 207.6 kB / 23.73 MB, free: 4.379 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.424/1.424, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2274/0.2274, allocations: 46.96 MB / 360.9 MB, free: 4.043 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.003153/0.003153, allocations: 63.89 kB / 0.4961 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3707, allocations: 66.04 MB / 0.5606 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01297/0.3837, allocations: 9.94 MB / 0.5703 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009344/0.393, allocations: 3.884 MB / 0.5741 GB, free: 6.375 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002466/0.3955, allocations: 79.62 kB / 0.5742 GB, free: 6.297 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005399/0.4009, allocations: 2.421 MB / 0.5765 GB, free: 3.867 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005292/0.4062, allocations: 1.903 MB / 0.5784 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001923/0.4081, allocations: 0.7722 MB / 0.5791 GB, free: 1.184 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006988/0.4151, allocations: 4.511 MB / 0.5836 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003779/0.4188, allocations: 2.787 MB / 0.5863 GB, free: 9.824 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002784/0.4216, allocations: 1.581 MB / 0.5878 GB, free: 8.238 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004279/0.4259, allocations: 2.399 MB / 0.5902 GB, free: 5.832 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009409/0.4268, allocations: 332 kB / 0.5905 GB, free: 5.508 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002058/0.4289, allocations: 0.8739 MB / 0.5913 GB, free: 4.633 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002144/0.431, allocations: 1.967 MB / 0.5933 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002519/0.4336, allocations: 1.677 MB / 0.5949 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009319/0.4429, allocations: 6.882 MB / 0.6016 GB, free: 10.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.4429, allocations: 0 / 0.6016 GB, free: 10.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4429, allocations: 0 / 0.6016 GB, free: 10.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000253/0.4431, allocations: 0 / 0.6016 GB, free: 10.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: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01086/0.454, allocations: 4.869 MB / 0.6064 GB, free: 5.133 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.454, allocations: 8.031 kB / 0.6064 GB, free: 5.125 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001183/0.4552, allocations: 0.728 MB / 0.6071 GB, free: 4.387 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007638/0.4629, allocations: 1.991 MB / 0.609 GB, free: 2.391 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006704/0.4696, allocations: 2.73 MB / 0.6117 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002609/0.4698, allocations: 258.2 kB / 0.6119 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009929/0.4708, allocations: 331.8 kB / 0.6123 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01861/0.4894, allocations: 10.34 MB / 0.6224 GB, free: 3.863 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001153/0.4896, allocations: 39.64 kB / 0.6224 GB, free: 3.824 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004113/0.49, allocations: 163.9 kB / 0.6225 GB, free: 3.664 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002847/0.4928, allocations: 1.904 MB / 0.6244 GB, free: 1.758 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01681/0.5096, allocations: 8.157 MB / 0.6324 GB, free: 9.582 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05015/0.5598, allocations: 37.81 MB / 0.6693 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007922/0.5677, allocations: 2.722 MB / 0.672 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001697/0.5694, allocations: 0.9595 MB / 0.6729 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009714/0.5791, allocations: 4.336 MB / 0.6771 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.082e-05/0.5792, allocations: 55.48 kB / 0.6772 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 5.941e-06/0.5792, allocations: 0 / 0.6772 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02279/0.602, allocations: 9.608 MB / 0.6866 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.6021, allocations: 196.9 kB / 0.6868 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005668/0.6078, allocations: 4.288 MB / 0.6909 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001963/0.608, allocations: 53.7 kB / 0.691 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00249/0.6105, allocations: 3.306 MB / 0.6942 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006965/0.6112, allocations: 0.6669 MB / 0.6949 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001478/0.6126, allocations: 1.219 MB / 0.6961 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.6128, allocations: 305.1 kB / 0.6964 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002606/0.6154, allocations: 1.648 MB / 0.698 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005756/0.6211, allocations: 5.564 MB / 0.7034 GB, free: 13.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009552/0.6307, allocations: 7.784 MB / 0.711 GB, free: 3.707 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001277/0.6308, allocations: 40 kB / 0.711 GB, free: 3.668 MB / 0.545 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01376/0.6446, allocations: 6.895 MB / 0.7178 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.897e-05/0.6447, allocations: 64 kB / 0.7178 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001757/0.6448, allocations: 136 kB / 0.718 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001928/0.645, allocations: 180 kB / 0.7181 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004694/0.6497, allocations: 1.423 MB / 0.7195 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002339/0.65, allocations: 274.9 kB / 0.7198 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004518/0.6545, allocations: 299.6 kB / 0.7201 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008079/0.6553, allocations: 384.4 kB / 0.7204 GB, free: 10.04 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.00375/0.659, allocations: 2.033 MB / 0.7224 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000711/0.6597, allocations: 369.6 kB / 0.7228 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007571/0.6605, allocations: 418.7 kB / 0.7232 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.498e-05/0.6605, allocations: 16 kB / 0.7232 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/0.6606, allocations: 7.938 kB / 0.7232 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.6606, allocations: 7.922 kB / 0.7232 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/0.6707, allocations: 5.556 MB / 0.7286 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.949e-05/0.6707, allocations: 16 kB / 0.7286 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.6719, allocations: 287.5 kB / 0.7289 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.994e-05/0.6719, allocations: 24 kB / 0.7289 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.672, allocations: 48 kB / 0.729 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-05/0.672, allocations: 35.86 kB / 0.729 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.487e-05/0.6721, allocations: 27.88 kB / 0.729 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2741/0.9462, allocations: 3.328 MB / 0.7323 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.9473, allocations: 358 kB / 0.7326 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000345/0.9476, allocations: 51.78 kB / 0.7327 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.9488, allocations: 61.45 kB / 0.7327 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/0.949, allocations: 150.6 kB / 0.7329 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.57e-05/0.9491, allocations: 69.28 kB / 0.733 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003661/0.9528, allocations: 2.517 MB / 0.7354 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.9e-07/0.9528, allocations: 0 / 0.7354 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004505/0.9573, allocations: 0.8847 MB / 0.7363 GB, free: 149.6 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.003521/0.9608, allocations: 3.993 MB / 0.7402 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005094/0.9659, allocations: 3.665 MB / 0.7438 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.306e-05/0.9659, allocations: 0 / 0.7438 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009101/0.9668, allocations: 0.7125 MB / 0.7445 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002897/0.9697, allocations: 479.5 kB / 0.7449 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05873/1.028, allocations: 41.75 MB / 0.7857 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003815/1.032, allocations: 2.635 MB / 0.7883 GB, free: 97.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003554/1.036, allocations: 1.812 MB / 0.79 GB, free: 95.97 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00219/1.038, allocations: 1.87 MB / 0.7919 GB, free: 94.1 MB / 0.5606 GB Notification: Performance of SimCode: time 2.034e-06/1.038, allocations: 0 / 0.7919 GB, free: 94.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1134/1.151, allocations: 61.37 MB / 0.8518 GB, free: 33.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.78/15.93, allocations: 10.56 kB / 0.8518 GB, free: 33.57 MB / 0.5606 GB " [Timeout remaining time 644] (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: 19.412524615006987]