Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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.00179/0.00179, allocations: 81.94 kB / 21.25 MB, free: 0.5469 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.002035/0.002035, allocations: 161.6 kB / 24.5 MB, free: 3.715 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.598/1.598, allocations: 177.1 MB / 204.7 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 65.92 kB / 325.5 MB, free: 200 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09327/0.09522, allocations: 53.39 MB / 378.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005972/0.1012, allocations: 4.119 MB / 383 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002686/0.1039, allocations: 1.356 MB / 384.4 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003496/0.1042, allocations: 35.69 kB / 384.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004205/0.1046, allocations: 178.2 kB / 384.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000344/0.105, allocations: 170.4 kB / 384.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007473/0.1057, allocations: 379.4 kB / 385.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.1068, allocations: 0.9743 MB / 386.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004406/0.1072, allocations: 267.4 kB / 386.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004475/0.1076, allocations: 350.5 kB / 386.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003635/0.108, allocations: 310 kB / 387 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.1081, allocations: 72 kB / 387.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.1083, allocations: 123.9 kB / 387.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.1085, allocations: 167.3 kB / 387.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003203/0.1088, allocations: 338.1 kB / 387.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.11, allocations: 1.116 MB / 388.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.11, allocations: 0 / 388.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.11, allocations: 0 / 388.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.11, allocations: 0 / 388.8 MB, free: 5.52 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.00162/0.1116, allocations: 1.097 MB / 389.9 MB, free: 4.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1116, allocations: 8.031 kB / 389.9 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002596/0.1119, allocations: 123.3 kB / 390 MB, free: 4.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.1129, allocations: 0.5551 MB / 390.6 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.396e-05/0.113, allocations: 58 kB / 390.6 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.1131, allocations: 87.94 kB / 390.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.1144, allocations: 0.8559 MB / 391.6 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.616e-05/0.1145, allocations: 7.938 kB / 391.6 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.969e-05/0.1145, allocations: 32 kB / 391.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.1145, allocations: 20 kB / 391.6 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00092/0.1155, allocations: 475.3 kB / 392.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00377/0.1192, allocations: 4.089 MB / 396.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005766/0.1198, allocations: 279.8 kB / 396.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.12, allocations: 137.5 kB / 396.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.1202, allocations: 16.38 kB / 396.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.1202, allocations: 34.94 kB / 396.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 1.884e-06/0.1202, allocations: 0 / 396.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.003367/0.1236, allocations: 1.607 MB / 398.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.1236, allocations: 55.91 kB / 398.3 MB, free: 11.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006325/0.1242, allocations: 0.5586 MB / 398.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.1243, allocations: 29.7 kB / 398.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003639/0.1246, allocations: 495.7 kB / 399.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.1248, allocations: 218.1 kB / 399.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.125, allocations: 142.6 kB / 399.7 MB, free: 10.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.1252, allocations: 386.7 kB / 400.1 MB, free: 9.742 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/0.1255, allocations: 165.9 kB / 400.3 MB, free: 9.578 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005319/0.126, allocations: 455.2 kB / 400.7 MB, free: 9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008973/0.1269, allocations: 0.6605 MB / 401.4 MB, free: 8.211 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/0.1269, allocations: 4 kB / 401.4 MB, free: 8.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001203/0.1281, allocations: 0.7437 MB / 402.1 MB, free: 7.449 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.1281, allocations: 8 kB / 402.1 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.1281, allocations: 15.98 kB / 402.2 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001662/0.1283, allocations: 44.84 kB / 402.2 MB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005988/0.1289, allocations: 184.3 kB / 402.4 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/0.1304, allocations: 1.555 MB / 403.9 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.1306, allocations: 28 kB / 404 MB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.074e-05/0.1307, allocations: 36 kB / 404 MB, free: 5.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002968/0.131, allocations: 237.5 kB / 404.2 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.965e-05/0.1311, allocations: 71.53 kB / 404.3 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.1312, allocations: 75.08 kB / 404.4 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.1312, allocations: 11.92 kB / 404.4 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1312, allocations: 4.062 kB / 404.4 MB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.1312, allocations: 4 kB / 404.4 MB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/0.1331, allocations: 1.184 MB / 405.6 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.1331, allocations: 11.97 kB / 405.6 MB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000509/0.1336, allocations: 119.8 kB / 405.7 MB, free: 3.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.216e-05/0.1337, allocations: 20.86 kB / 405.7 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/0.1337, allocations: 16 kB / 405.7 MB, free: 3.645 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009586/0.1347, allocations: 1.237 MB / 407 MB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1347, allocations: 7.938 kB / 407 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.1358, allocations: 0.7887 MB / 407.8 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.411e-05/0.1359, allocations: 59.53 kB / 407.8 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.328e-05/0.136, allocations: 16 kB / 407.9 MB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.1362, allocations: 15.98 kB / 407.9 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.671e-05/0.1362, allocations: 47.91 kB / 407.9 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.1363, allocations: 15.94 kB / 407.9 MB, free: 1.297 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004203/0.1367, allocations: 367.1 kB / 408.3 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1367, allocations: 4 kB / 408.3 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006234/0.1373, allocations: 140 kB / 408.4 MB, free: 0.8047 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 10 (directMass.mass.s,directMass.mass.v,mass2a.s,mass2a.v,mass2b.s,mass2b.v,mass3a.s,mass3a.v,mass3b.s,mass3b.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 (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001436/0.1375, allocations: 115.1 kB / 408.5 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009523/0.1384, allocations: 0.5637 MB / 409.1 MB, free: 112 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1384, allocations: 0 / 409.1 MB, free: 112 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000423/0.1388, allocations: 292.9 kB / 409.4 MB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006153/0.1394, allocations: 107.1 kB / 409.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.1422, allocations: 1.859 MB / 411.4 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.1426, allocations: 378.3 kB / 411.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002534/0.1428, allocations: 94 kB / 411.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.1429, allocations: 60.48 kB / 411.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1429, allocations: 0 / 411.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of Templates: time 0.01222/0.1552, allocations: 5.229 MB / 417.1 MB, free: 8.113 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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: 4.61422644497361]