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.001648/0.001648, allocations: 114.5 kB / 19.69 MB, free: 2.207 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.002156/0.002156, allocations: 222.3 kB / 23.01 MB, free: 5.062 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.477/1.477, allocations: 207.6 MB / 233.8 MB, free: 10 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.2358/0.2358, allocations: 44.23 MB / 330.3 MB, free: 9.535 MB / 270.1 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",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.002388/0.002388, allocations: 74.48 kB / 467.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.119, allocations: 61.04 MB / 0.5162 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01441/0.1334, allocations: 11.53 MB / 0.5274 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009383/0.1428, allocations: 4.09 MB / 0.5314 GB, free: 7.648 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002054/0.1448, allocations: 87.56 kB / 0.5315 GB, free: 7.562 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005637/0.1504, allocations: 2.534 MB / 0.534 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005805/0.1562, allocations: 1.93 MB / 0.5358 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.1584, allocations: 0.7878 MB / 0.5366 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2279/0.3863, allocations: 4.455 MB / 0.541 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006084/0.3924, allocations: 2.796 MB / 0.5437 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00395/0.3964, allocations: 1.61 MB / 0.5453 GB, free: 9.852 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0048/0.4012, allocations: 2.41 MB / 0.5476 GB, free: 9.609 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001734/0.4029, allocations: 333.3 kB / 0.5479 GB, free: 9.609 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003073/0.406, allocations: 0.9978 MB / 0.5489 GB, free: 9.609 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002938/0.4089, allocations: 1.999 MB / 0.5509 GB, free: 9.367 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003894/0.4128, allocations: 2.276 MB / 0.5531 GB, free: 8.348 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01048/0.4233, allocations: 6.931 MB / 0.5599 GB, free: 5.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.4233, allocations: 5.094 kB / 0.5599 GB, free: 5.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4233, allocations: 0 / 0.5599 GB, free: 5.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003102/0.4236, allocations: 0 / 0.5599 GB, free: 5.98 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.01344/0.4371, allocations: 4.927 MB / 0.5647 GB, free: 3.324 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.4371, allocations: 14.09 kB / 0.5647 GB, free: 3.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001865/0.439, allocations: 0.7328 MB / 0.5654 GB, free: 2.984 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007619/0.4466, allocations: 1.997 MB / 0.5674 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007151/0.4537, allocations: 3.225 MB / 0.5705 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/0.454, allocations: 258.1 kB / 0.5707 GB, free: 396 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001152/0.4551, allocations: 330.3 kB / 0.5711 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0199/0.475, allocations: 10.2 MB / 0.581 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001543/0.4752, allocations: 49.75 kB / 0.5811 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005455/0.4757, allocations: 162.8 kB / 0.5812 GB, free: 10 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002663/0.4784, allocations: 1.904 MB / 0.5831 GB, free: 9.289 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01746/0.4958, allocations: 8.147 MB / 0.591 GB, free: 2.934 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05568/0.5515, allocations: 39.23 MB / 0.6294 GB, free: 11.08 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008359/0.5599, allocations: 2.697 MB / 0.632 GB, free: 8.348 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001932/0.5618, allocations: 0.9605 MB / 0.6329 GB, free: 7.367 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01043/0.5722, allocations: 4.563 MB / 0.6374 GB, free: 2.836 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.089e-05/0.5723, allocations: 51.03 kB / 0.6374 GB, free: 2.781 MB / 478.1 MB Notification: Performance of pre-optimization done (n=148): time 6.312e-06/0.5723, allocations: 4 kB / 0.6374 GB, free: 2.777 MB / 478.1 MB Notification: Performance of matching and sorting (n=160): time 0.02776/0.6001, allocations: 9.652 MB / 0.6469 GB, free: 9.113 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/0.6002, allocations: 203.5 kB / 0.6471 GB, free: 8.871 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008903/0.6091, allocations: 4.097 MB / 0.6511 GB, free: 4.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002706/0.6094, allocations: 53.7 kB / 0.6511 GB, free: 4.691 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003341/0.6127, allocations: 3.316 MB / 0.6543 GB, free: 1.387 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00104/0.6138, allocations: 0.6647 MB / 0.655 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003389/0.6172, allocations: 1.217 MB / 0.6562 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.6173, allocations: 309.1 kB / 0.6565 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003646/0.621, allocations: 1.636 MB / 0.6581 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007282/0.6282, allocations: 5.505 MB / 0.6635 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/0.6391, allocations: 7.757 MB / 0.671 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001254/0.6392, allocations: 40 kB / 0.6711 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01522/0.6545, allocations: 6.877 MB / 0.6778 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001896/0.6547, allocations: 67.75 kB / 0.6778 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002636/0.6549, allocations: 139.6 kB / 0.678 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002704/0.6552, allocations: 180 kB / 0.6782 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005066/0.6603, allocations: 1.423 MB / 0.6795 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003099/0.6606, allocations: 267 kB / 0.6798 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005247/0.6658, allocations: 295.8 kB / 0.6801 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001161/0.667, allocations: 379.9 kB / 0.6804 GB, free: 2.992 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.005175/0.6721, allocations: 2.042 MB / 0.6824 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008689/0.673, allocations: 369.5 kB / 0.6828 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003138/0.6762, allocations: 1.345 MB / 0.6841 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.592e-05/0.6762, allocations: 16 kB / 0.6841 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/0.6762, allocations: 4 kB / 0.6841 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.6762, allocations: 3.984 kB / 0.6841 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/0.6906, allocations: 5.809 MB / 0.6898 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.404e-05/0.6907, allocations: 20 kB / 0.6898 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.6918, allocations: 280.4 kB / 0.6901 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-05/0.6918, allocations: 24 kB / 0.6901 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001598/0.692, allocations: 59.94 kB / 0.6902 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.413e-05/0.692, allocations: 35.86 kB / 0.6902 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.129e-05/0.6921, allocations: 27.88 kB / 0.6902 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004772/0.6968, allocations: 3.297 MB / 0.6934 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001707/0.6985, allocations: 481.3 kB / 0.6939 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008891/0.6994, allocations: 49.58 kB / 0.6939 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00184/0.7013, allocations: 61.33 kB / 0.694 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/0.7015, allocations: 151.3 kB / 0.6942 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/0.7016, allocations: 68 kB / 0.6942 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006367/0.708, allocations: 2.54 MB / 0.6967 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.81e-07/0.708, allocations: 0 / 0.6967 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007114/0.7151, allocations: 0.8984 MB / 0.6976 GB, free: 0.8945 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.006106/0.7212, allocations: 3.968 MB / 0.7014 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007471/0.7287, allocations: 3.647 MB / 0.705 GB, free: 9.074 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-05/0.7287, allocations: 4 kB / 0.705 GB, free: 9.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.7301, allocations: 0.7067 MB / 0.7057 GB, free: 8.367 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004428/0.7345, allocations: 478.2 kB / 0.7062 GB, free: 7.906 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07742/0.8119, allocations: 41.89 MB / 0.7471 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005688/0.8176, allocations: 3.181 MB / 0.7502 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005112/0.8227, allocations: 1.822 MB / 0.752 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003504/0.8262, allocations: 1.866 MB / 0.7538 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of SimCode: time 1.272e-06/0.8262, allocations: 0 / 0.7538 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3308/1.157, allocations: 64.38 MB / 0.8167 GB, free: 196.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.94/23.09, allocations: 7.219 kB / 0.8167 GB, free: 196.3 MB / 0.6075 GB " [Timeout remaining time 637] (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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 26.67143166088499]