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.00134/0.00134, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001464/0.001464, allocations: 209 kB / 23.72 MB, free: 4.391 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2481/0.2481, allocations: 46.96 MB / 360.9 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 179] 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.002128/0.002128, allocations: 67.89 kB / 0.4961 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.401, allocations: 66.04 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01931/0.4203, allocations: 9.929 MB / 0.5703 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01262/0.433, allocations: 3.881 MB / 0.5741 GB, free: 6.359 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003128/0.4361, allocations: 79.56 kB / 0.5742 GB, free: 6.281 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007543/0.4436, allocations: 2.429 MB / 0.5765 GB, free: 3.844 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007949/0.4516, allocations: 1.899 MB / 0.5784 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003038/0.4546, allocations: 0.78 MB / 0.5791 GB, free: 1.156 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01002/0.4646, allocations: 4.507 MB / 0.5836 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006289/0.4709, allocations: 2.767 MB / 0.5863 GB, free: 9.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003807/0.4747, allocations: 1.581 MB / 0.5878 GB, free: 8.234 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005257/0.48, allocations: 2.27 MB / 0.59 GB, free: 5.957 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0015/0.4815, allocations: 332 kB / 0.5903 GB, free: 5.633 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003396/0.4849, allocations: 0.8544 MB / 0.5912 GB, free: 4.777 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003734/0.4886, allocations: 1.971 MB / 0.5931 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004749/0.4934, allocations: 1.674 MB / 0.5947 GB, free: 1.117 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01422/0.5076, allocations: 6.882 MB / 0.6014 GB, free: 10.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.5076, allocations: 0 / 0.6014 GB, free: 10.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5076, allocations: 4 kB / 0.6014 GB, free: 10.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003032/0.5079, allocations: 0 / 0.6014 GB, free: 10.2 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.01774/0.5256, allocations: 4.861 MB / 0.6062 GB, free: 5.281 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.5257, allocations: 8.031 kB / 0.6062 GB, free: 5.273 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002557/0.5282, allocations: 0.7358 MB / 0.6069 GB, free: 4.527 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01314/0.5414, allocations: 1.991 MB / 0.6089 GB, free: 2.531 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01047/0.5519, allocations: 2.738 MB / 0.6115 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004927/0.5524, allocations: 266.1 kB / 0.6118 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002072/0.5544, allocations: 323.8 kB / 0.6121 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03374/0.5882, allocations: 10.33 MB / 0.6222 GB, free: 4 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003118/0.5885, allocations: 55.56 kB / 0.6222 GB, free: 3.945 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001711/0.5902, allocations: 159.9 kB / 0.6224 GB, free: 3.789 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005056/0.5952, allocations: 1.908 MB / 0.6243 GB, free: 1.879 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02797/0.6232, allocations: 8.15 MB / 0.6322 GB, free: 9.711 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05351/0.6767, allocations: 37.81 MB / 0.6691 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008139/0.6849, allocations: 2.725 MB / 0.6718 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001664/0.6865, allocations: 0.9572 MB / 0.6727 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009047/0.6956, allocations: 4.34 MB / 0.677 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.302e-05/0.6956, allocations: 55.5 kB / 0.677 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 4.569e-06/0.6956, allocations: 0 / 0.677 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02365/0.7193, allocations: 9.609 MB / 0.6864 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001587/0.7195, allocations: 196.9 kB / 0.6866 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006734/0.7262, allocations: 4.292 MB / 0.6908 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002749/0.7265, allocations: 45.7 kB / 0.6908 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003022/0.7295, allocations: 3.31 MB / 0.6941 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008592/0.7303, allocations: 0.6591 MB / 0.6947 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00167/0.732, allocations: 1.227 MB / 0.6959 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.7322, allocations: 301.4 kB / 0.6962 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002904/0.7351, allocations: 1.644 MB / 0.6978 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006534/0.7416, allocations: 5.564 MB / 0.7032 GB, free: 13.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/0.7527, allocations: 7.784 MB / 0.7108 GB, free: 3.844 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001727/0.7529, allocations: 40 kB / 0.7109 GB, free: 3.805 MB / 0.545 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01658/0.7694, allocations: 6.893 MB / 0.7176 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.7696, allocations: 66.5 kB / 0.7177 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002221/0.7698, allocations: 139.9 kB / 0.7178 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001954/0.77, allocations: 180 kB / 0.718 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004722/0.7747, allocations: 1.431 MB / 0.7194 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002447/0.7749, allocations: 267 kB / 0.7196 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004536/0.7795, allocations: 303.7 kB / 0.7199 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006262/0.7801, allocations: 376 kB / 0.7203 GB, free: 10.17 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.003414/0.7835, allocations: 2.033 MB / 0.7223 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007647/0.7843, allocations: 361.6 kB / 0.7226 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007502/0.785, allocations: 418.7 kB / 0.723 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.937e-05/0.7851, allocations: 23.98 kB / 0.723 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/0.7851, allocations: 0 / 0.723 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.918e-05/0.7851, allocations: 15.91 kB / 0.723 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.7957, allocations: 5.556 MB / 0.7285 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.789e-05/0.7957, allocations: 16.22 kB / 0.7285 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.7968, allocations: 283.5 kB / 0.7288 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.879e-05/0.7968, allocations: 24 kB / 0.7288 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.086e-05/0.7969, allocations: 51.98 kB / 0.7288 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.485e-05/0.7969, allocations: 39.86 kB / 0.7289 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.713e-05/0.797, allocations: 27.88 kB / 0.7289 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3169/1.114, allocations: 3.32 MB / 0.7321 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/1.115, allocations: 357.5 kB / 0.7325 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000314/1.115, allocations: 47.64 kB / 0.7325 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/1.116, allocations: 68.81 kB / 0.7326 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/1.116, allocations: 149.9 kB / 0.7327 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.519e-05/1.117, allocations: 67.25 kB / 0.7328 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003654/1.12, allocations: 2.512 MB / 0.7353 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.12, allocations: 1.062 kB / 0.7353 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004049/1.124, allocations: 0.8845 MB / 0.7361 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.003327/1.128, allocations: 3.995 MB / 0.74 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005329/1.133, allocations: 3.674 MB / 0.7436 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/1.133, allocations: 1.594 kB / 0.7436 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007996/1.134, allocations: 0.715 MB / 0.7443 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002521/1.136, allocations: 475 kB / 0.7448 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0452/1.181, allocations: 41.75 MB / 0.7855 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002826/1.184, allocations: 2.632 MB / 0.7881 GB, free: 97.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003523/1.188, allocations: 1.816 MB / 0.7899 GB, free: 96.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001878/1.19, allocations: 1.858 MB / 0.7917 GB, free: 94.16 MB / 0.5606 GB Notification: Performance of SimCode: time 9.91e-07/1.19, allocations: 4 kB / 0.7917 GB, free: 94.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09951/1.289, allocations: 58.79 MB / 0.8491 GB, free: 36.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.54/16.83, allocations: 11.27 kB / 0.8491 GB, free: 36.22 MB / 0.5606 GB " [Timeout remaining time 643] (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: 20.503540470730513]