Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001732/0.001732, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.0022/0.0022, allocations: 209.4 kB / 24.47 MB, free: 4.023 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.512/1.512, allocations: 230.2 MB / 257.8 MB, free: 8.512 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2317/0.2317, allocations: 46.89 MB / 361.1 MB, free: 4.637 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-beta.om/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: translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 76.2 kB / 0.4968 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3605, allocations: 65.99 MB / 0.5612 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01432/0.3748, allocations: 11.43 MB / 0.5724 GB, free: 9.516 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009561/0.3844, allocations: 4.108 MB / 0.5764 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002256/0.3866, allocations: 67.81 kB / 0.5764 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005399/0.392, allocations: 2.53 MB / 0.5789 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005647/0.3977, allocations: 1.875 MB / 0.5808 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002078/0.3997, allocations: 0.7838 MB / 0.5815 GB, free: 120 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007552/0.4073, allocations: 4.507 MB / 0.5859 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00407/0.4114, allocations: 2.541 MB / 0.5884 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003099/0.4145, allocations: 1.554 MB / 0.5899 GB, free: 7.457 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004251/0.4187, allocations: 2.403 MB / 0.5923 GB, free: 5.047 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001119/0.4198, allocations: 332 kB / 0.5926 GB, free: 4.723 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.4223, allocations: 0.9831 MB / 0.5935 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002533/0.4248, allocations: 1.971 MB / 0.5955 GB, free: 1.762 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003304/0.4281, allocations: 2.229 MB / 0.5976 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01026/0.4384, allocations: 6.843 MB / 0.6043 GB, free: 8.648 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.4384, allocations: 0 / 0.6043 GB, free: 8.648 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4384, allocations: 0 / 0.6043 GB, free: 8.648 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002767/0.4387, allocations: 0 / 0.6043 GB, free: 8.648 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.01151/0.4502, allocations: 4.913 MB / 0.6091 GB, free: 3.656 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.4502, allocations: 12.03 kB / 0.6091 GB, free: 3.645 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007868/0.4581, allocations: 1.971 MB / 0.6111 GB, free: 1.668 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006004/0.4641, allocations: 2.338 MB / 0.6133 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002368/0.4643, allocations: 254.4 kB / 0.6136 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008838/0.4652, allocations: 327.8 kB / 0.6139 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02005/0.4853, allocations: 10.24 MB / 0.6239 GB, free: 3.656 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002251/0.4855, allocations: 51.58 kB / 0.6239 GB, free: 3.605 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001119/0.4866, allocations: 155.9 kB / 0.6241 GB, free: 3.453 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003395/0.49, allocations: 1.912 MB / 0.626 GB, free: 1.539 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01952/0.5095, allocations: 8.165 MB / 0.6339 GB, free: 9.348 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05642/0.566, allocations: 39.31 MB / 0.6723 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009508/0.5755, allocations: 3.187 MB / 0.6754 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001824/0.5773, allocations: 0.9553 MB / 0.6764 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01102/0.5883, allocations: 6.017 MB / 0.6822 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.294e-05/0.5884, allocations: 55.5 kB / 0.6823 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 4.438e-06/0.5884, allocations: 0 / 0.6823 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02568/0.614, allocations: 9.729 MB / 0.6918 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/0.6142, allocations: 200.9 kB / 0.692 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007587/0.6218, allocations: 4.048 MB / 0.6959 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002899/0.6221, allocations: 49.7 kB / 0.696 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004334/0.6264, allocations: 3.302 MB / 0.6992 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001189/0.6276, allocations: 0.6746 MB / 0.6999 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002682/0.6303, allocations: 1.227 MB / 0.7011 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.6305, allocations: 308.9 kB / 0.7014 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005119/0.6356, allocations: 1.659 MB / 0.703 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01072/0.6463, allocations: 5.542 MB / 0.7084 GB, free: 9.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0164/0.6627, allocations: 7.795 MB / 0.716 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001855/0.6629, allocations: 40 kB / 0.716 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.02363/0.6865, allocations: 6.949 MB / 0.7228 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001546/0.6867, allocations: 64 kB / 0.7229 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002589/0.6869, allocations: 136 kB / 0.723 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002895/0.6872, allocations: 180 kB / 0.7232 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007926/0.6952, allocations: 1.435 MB / 0.7246 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003572/0.6955, allocations: 271 kB / 0.7249 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007484/0.703, allocations: 307.8 kB / 0.7252 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001269/0.7043, allocations: 376 kB / 0.7255 GB, free: 5.719 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 (775): * Single equations (assignments): 772 * 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.005622/0.7099, allocations: 2.033 MB / 0.7275 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001142/0.711, allocations: 369.5 kB / 0.7278 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.7123, allocations: 418.6 kB / 0.7282 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.025e-05/0.7123, allocations: 16 kB / 0.7283 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-05/0.7123, allocations: 4 kB / 0.7283 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.939e-05/0.7124, allocations: 15.91 kB / 0.7283 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3514/1.064, allocations: 5.832 MB / 0.734 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.858e-05/1.064, allocations: 17.31 kB / 0.734 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/1.065, allocations: 286.5 kB / 0.7343 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-05/1.065, allocations: 24.14 kB / 0.7343 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.139e-05/1.065, allocations: 48.38 kB / 0.7343 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.22e-05/1.065, allocations: 38.59 kB / 0.7344 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.288e-05/1.065, allocations: 27.5 kB / 0.7344 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00346/1.068, allocations: 3.331 MB / 0.7377 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009368/1.069, allocations: 428.4 kB / 0.7381 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003355/1.07, allocations: 56.33 kB / 0.7381 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/1.071, allocations: 63.14 kB / 0.7382 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/1.071, allocations: 145.4 kB / 0.7383 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.297e-05/1.071, allocations: 63.41 kB / 0.7384 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003467/1.074, allocations: 2.512 MB / 0.7408 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.074, allocations: 3.938 kB / 0.7408 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005058/1.08, allocations: 0.8856 MB / 0.7417 GB, free: 148.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.0003854/1.08, allocations: 198.2 kB / 0.7419 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005899/1.086, allocations: 3.691 MB / 0.7455 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.212e-05/1.086, allocations: 3 kB / 0.7455 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/1.087, allocations: 0.7192 MB / 0.7462 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002889/1.09, allocations: 476 kB / 0.7466 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/1.103, allocations: 8.871 MB / 0.7553 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00273/1.105, allocations: 3.167 MB / 0.7584 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0035/1.109, allocations: 1.812 MB / 0.7602 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000446/1.109, allocations: 243.4 kB / 0.7604 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.373e-06/1.109, allocations: 0 / 0.7604 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.04721/1.156, allocations: 26.88 MB / 0.7867 GB, free: 108.9 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 7.246949940919876]