Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001497/0.001497, allocations: 109.1 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001667/0.001667, allocations: 208.2 kB / 24.53 MB, free: 4.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 230.5 MB / 258.2 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2196/0.2196, allocations: 46.93 MB / 361.6 MB, free: 4.176 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 79.88 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.327, allocations: 66.08 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01376/0.3408, allocations: 11.44 MB / 0.5727 GB, free: 8.805 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008988/0.3497, allocations: 4.114 MB / 0.5767 GB, free: 4.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002304/0.352, allocations: 75.62 kB / 0.5768 GB, free: 4.605 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005443/0.3575, allocations: 2.53 MB / 0.5792 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005036/0.3625, allocations: 1.899 MB / 0.5811 GB, free: 164 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.3643, allocations: 0.7644 MB / 0.5818 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00662/0.371, allocations: 4.518 MB / 0.5862 GB, free: 10.87 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00381/0.3748, allocations: 2.783 MB / 0.589 GB, free: 8.031 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003184/0.378, allocations: 1.585 MB / 0.5905 GB, free: 6.441 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004176/0.3821, allocations: 2.395 MB / 0.5928 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001286/0.3834, allocations: 332 kB / 0.5932 GB, free: 3.715 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.3858, allocations: 0.9909 MB / 0.5941 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002266/0.3881, allocations: 1.971 MB / 0.5961 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002883/0.391, allocations: 2.233 MB / 0.5982 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008071/0.399, allocations: 6.863 MB / 0.6049 GB, free: 7.609 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.399, allocations: 0 / 0.6049 GB, free: 7.609 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.399, allocations: 0 / 0.6049 GB, free: 7.609 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002085/0.3993, allocations: 0 / 0.6049 GB, free: 7.609 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.01056/0.4098, allocations: 4.865 MB / 0.6097 GB, free: 2.684 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.4099, allocations: 8.031 kB / 0.6097 GB, free: 2.676 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001286/0.41, allocations: 106.6 kB / 0.6098 GB, free: 2.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001296/0.4113, allocations: 0.728 MB / 0.6105 GB, free: 1.832 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007752/0.419, allocations: 1.995 MB / 0.6125 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00607/0.4251, allocations: 2.71 MB / 0.6151 GB, free: 13.06 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002365/0.4253, allocations: 262.3 kB / 0.6154 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008719/0.4262, allocations: 331.8 kB / 0.6157 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0187/0.4449, allocations: 10.22 MB / 0.6257 GB, free: 1.461 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001273/0.4451, allocations: 63.45 kB / 0.6257 GB, free: 1.398 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005067/0.4456, allocations: 163.8 kB / 0.6259 GB, free: 1.238 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00322/0.4488, allocations: 1.904 MB / 0.6277 GB, free: 15.33 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01743/0.4662, allocations: 8.169 MB / 0.6357 GB, free: 7.141 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0489/0.5151, allocations: 39.18 MB / 0.674 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008303/0.5234, allocations: 2.725 MB / 0.6766 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/0.5251, allocations: 0.9687 MB / 0.6776 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008359/0.5334, allocations: 4.566 MB / 0.682 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.552e-05/0.5335, allocations: 59.48 kB / 0.6821 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 3.937e-06/0.5335, allocations: 0 / 0.6821 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02463/0.5581, allocations: 9.598 MB / 0.6915 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/0.5582, allocations: 200.9 kB / 0.6917 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006657/0.5649, allocations: 4.068 MB / 0.6956 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002733/0.5652, allocations: 49.7 kB / 0.6957 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002798/0.568, allocations: 3.31 MB / 0.6989 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00082/0.5688, allocations: 0.6669 MB / 0.6996 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001676/0.5705, allocations: 1.211 MB / 0.7007 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.5706, allocations: 301.1 kB / 0.701 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00295/0.5736, allocations: 1.644 MB / 0.7026 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006409/0.58, allocations: 5.518 MB / 0.708 GB, free: 9.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/0.59, allocations: 7.773 MB / 0.7156 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001165/0.5901, allocations: 36.28 kB / 0.7156 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01378/0.6039, allocations: 6.908 MB / 0.7224 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.604, allocations: 66.28 kB / 0.7225 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000168/0.6042, allocations: 139.9 kB / 0.7226 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001862/0.6044, allocations: 184 kB / 0.7228 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004583/0.6089, allocations: 1.424 MB / 0.7242 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002963/0.6092, allocations: 278.9 kB / 0.7244 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003686/0.6129, allocations: 291.7 kB / 0.7247 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005742/0.6135, allocations: 379.9 kB / 0.7251 GB, free: 6.281 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.003391/0.6169, allocations: 2.034 MB / 0.727 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006614/0.6176, allocations: 369.5 kB / 0.7274 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008125/0.6184, allocations: 422.7 kB / 0.7278 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.967e-05/0.6184, allocations: 20 kB / 0.7278 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.6184, allocations: 3.938 kB / 0.7278 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/0.6184, allocations: 3.984 kB / 0.7278 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2486/0.867, allocations: 5.804 MB / 0.7335 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.613e-05/0.867, allocations: 17.62 kB / 0.7335 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/0.8682, allocations: 287 kB / 0.7338 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.843e-05/0.8683, allocations: 25.27 kB / 0.7338 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.85e-05/0.8684, allocations: 48.75 kB / 0.7339 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.742e-05/0.8684, allocations: 37.94 kB / 0.7339 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.346e-05/0.8684, allocations: 27.34 kB / 0.7339 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003761/0.8722, allocations: 3.324 MB / 0.7372 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/0.8732, allocations: 358.6 kB / 0.7375 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004367/0.8736, allocations: 52.91 kB / 0.7376 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.8749, allocations: 69.33 kB / 0.7376 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.875, allocations: 142.5 kB / 0.7378 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.088e-05/0.8751, allocations: 75.83 kB / 0.7378 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003703/0.8788, allocations: 2.515 MB / 0.7403 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.8788, allocations: 0 / 0.7403 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004818/0.8836, allocations: 0.8763 MB / 0.7411 GB, free: 148.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.003648/0.8873, allocations: 3.991 MB / 0.745 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005128/0.8924, allocations: 3.676 MB / 0.7486 GB, free: 145 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-05/0.8924, allocations: 5.156 kB / 0.7486 GB, free: 145 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009131/0.8933, allocations: 0.7046 MB / 0.7493 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002606/0.8959, allocations: 482.4 kB / 0.7498 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04085/0.9368, allocations: 41.76 MB / 0.7906 GB, free: 97.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003164/0.9399, allocations: 3.17 MB / 0.7937 GB, free: 94.51 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00334/0.9433, allocations: 1.808 MB / 0.7954 GB, free: 92.69 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001964/0.9453, allocations: 1.866 MB / 0.7973 GB, free: 90.83 MB / 0.5606 GB Notification: Performance of SimCode: time 1.303e-06/0.9453, allocations: 0 / 0.7973 GB, free: 90.83 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0924/1.038, allocations: 64.04 MB / 0.8598 GB, free: 27.15 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.16/23.2, allocations: 10.19 kB / 0.8598 GB, free: 27.14 MB / 0.5606 GB " [Timeout remaining time 637] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 27.40400875301566]