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.001669/0.001669, allocations: 109 kB / 21.1 MB, free: 0.7695 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.001887/0.001887, allocations: 205.7 kB / 24.38 MB, free: 4.188 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.467/1.467, allocations: 230.2 MB / 257.7 MB, free: 8.293 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.2244/0.2244, allocations: 46.88 MB / 361 MB, free: 4.496 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003247/0.003247, allocations: 91.83 kB / 0.4962 GB, free: 8.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3786, allocations: 66.03 MB / 0.5607 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01387/0.3925, allocations: 11.37 MB / 0.5718 GB, free: 9.285 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009465/0.402, allocations: 4.087 MB / 0.5758 GB, free: 5.188 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002593/0.4046, allocations: 83.56 kB / 0.5758 GB, free: 5.105 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005503/0.4101, allocations: 2.527 MB / 0.5783 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005411/0.4155, allocations: 1.891 MB / 0.5801 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002064/0.4175, allocations: 0.776 MB / 0.5809 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006844/0.4244, allocations: 4.514 MB / 0.5853 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003644/0.428, allocations: 2.55 MB / 0.5878 GB, free: 8.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002829/0.4309, allocations: 1.577 MB / 0.5893 GB, free: 7.188 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003921/0.4348, allocations: 2.399 MB / 0.5917 GB, free: 4.781 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009936/0.4358, allocations: 336 kB / 0.592 GB, free: 4.453 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.4378, allocations: 0.87 MB / 0.5929 GB, free: 3.582 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002279/0.4401, allocations: 1.971 MB / 0.5948 GB, free: 1.605 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003039/0.4431, allocations: 2.237 MB / 0.597 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008792/0.4519, allocations: 6.82 MB / 0.6036 GB, free: 8.508 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.4519, allocations: 0 / 0.6036 GB, free: 8.508 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4519, allocations: 4 kB / 0.6036 GB, free: 8.504 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002529/0.4522, allocations: 0 / 0.6036 GB, free: 8.504 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.0107/0.4629, allocations: 4.936 MB / 0.6085 GB, free: 3.488 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/0.463, allocations: 12.03 kB / 0.6085 GB, free: 3.477 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001218/0.4642, allocations: 0.7319 MB / 0.6092 GB, free: 2.734 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007519/0.4717, allocations: 1.991 MB / 0.6111 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005834/0.4775, allocations: 2.798 MB / 0.6139 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002254/0.4778, allocations: 254.3 kB / 0.6141 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008165/0.4786, allocations: 327.8 kB / 0.6144 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.019/0.4976, allocations: 10.23 MB / 0.6244 GB, free: 2.273 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001347/0.4977, allocations: 51.58 kB / 0.6245 GB, free: 2.223 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004569/0.4982, allocations: 163.9 kB / 0.6246 GB, free: 2.062 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002863/0.501, allocations: 1.908 MB / 0.6265 GB, free: 156 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01758/0.5186, allocations: 8.169 MB / 0.6344 GB, free: 7.961 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05079/0.5694, allocations: 39.29 MB / 0.6728 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008183/0.5776, allocations: 3.169 MB / 0.6759 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00171/0.5793, allocations: 0.9657 MB / 0.6769 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009426/0.5887, allocations: 6.005 MB / 0.6827 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.285e-05/0.5888, allocations: 55.5 kB / 0.6828 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 5.61e-06/0.5888, allocations: 0 / 0.6828 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02313/0.6119, allocations: 9.744 MB / 0.6923 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.612, allocations: 204.9 kB / 0.6925 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005967/0.618, allocations: 4.068 MB / 0.6965 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002769/0.6183, allocations: 45.7 kB / 0.6965 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002631/0.6209, allocations: 3.318 MB / 0.6997 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007875/0.6217, allocations: 0.663 MB / 0.7004 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00156/0.6233, allocations: 1.211 MB / 0.7016 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.6234, allocations: 301.1 kB / 0.7019 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002729/0.6261, allocations: 1.648 MB / 0.7035 GB, free: 15.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005858/0.632, allocations: 5.514 MB / 0.7089 GB, free: 7.852 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009892/0.6419, allocations: 7.773 MB / 0.7164 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001195/0.642, allocations: 36 kB / 0.7165 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01366/0.6557, allocations: 6.904 MB / 0.7232 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.6558, allocations: 70.44 kB / 0.7233 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001806/0.656, allocations: 140 kB / 0.7234 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001876/0.6561, allocations: 180 kB / 0.7236 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004657/0.6608, allocations: 1.424 MB / 0.725 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002455/0.661, allocations: 274.9 kB / 0.7252 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003979/0.665, allocations: 295.7 kB / 0.7255 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006883/0.6657, allocations: 372 kB / 0.7259 GB, free: 4.484 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.003365/0.6691, allocations: 2.034 MB / 0.7279 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007124/0.6698, allocations: 373.5 kB / 0.7282 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008795/0.6707, allocations: 418.7 kB / 0.7286 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.111e-05/0.6707, allocations: 20 kB / 0.7286 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/0.6707, allocations: 0 / 0.7286 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.6707, allocations: 7.969 kB / 0.7287 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2824/0.9531, allocations: 5.837 MB / 0.7344 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-05/0.9531, allocations: 19.75 kB / 0.7344 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009466/0.9541, allocations: 287 kB / 0.7346 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.859e-05/0.9541, allocations: 25.84 kB / 0.7347 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.63e-05/0.9542, allocations: 46.5 kB / 0.7347 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-05/0.9542, allocations: 44.05 kB / 0.7348 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.257e-05/0.9542, allocations: 31.16 kB / 0.7348 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003032/0.9572, allocations: 3.322 MB / 0.738 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000773/0.958, allocations: 433.1 kB / 0.7384 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003467/0.9584, allocations: 50.34 kB / 0.7385 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.9595, allocations: 70.12 kB / 0.7386 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.9596, allocations: 148 kB / 0.7387 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.413e-05/0.9597, allocations: 68.67 kB / 0.7388 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003254/0.963, allocations: 2.517 MB / 0.7412 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.963, allocations: 0 / 0.7412 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004279/0.9672, allocations: 0.885 MB / 0.7421 GB, free: 148.1 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.003473/0.9707, allocations: 3.984 MB / 0.746 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005042/0.9758, allocations: 3.68 MB / 0.7496 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.77e-05/0.9758, allocations: 0 / 0.7496 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008743/0.9766, allocations: 0.7016 MB / 0.7503 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002741/0.9794, allocations: 471.6 kB / 0.7507 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04528/1.025, allocations: 41.76 MB / 0.7915 GB, free: 96.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002617/1.027, allocations: 3.17 MB / 0.7946 GB, free: 93.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003335/1.031, allocations: 1.808 MB / 0.7963 GB, free: 91.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001828/1.032, allocations: 1.87 MB / 0.7982 GB, free: 89.8 MB / 0.5606 GB Notification: Performance of SimCode: time 9.91e-07/1.032, allocations: 0 / 0.7982 GB, free: 89.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09547/1.128, allocations: 63.92 MB / 0.8606 GB, free: 26.21 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.8/19.93, allocations: 0 / 0.8606 GB, free: 26.21 MB / 0.5606 GB " [Timeout remaining time 640] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 23.02280163578689]