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.0008417/0.0008417, allocations: 82.59 kB / 21.43 MB, free: 3.066 MB / 18.57 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.0009503/0.0009503, allocations: 171.6 kB / 24.82 MB, free: 9.207 MB / 18.57 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 0.9823/0.9823, allocations: 177 MB / 205.1 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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 1.763e-06/1.763e-06, allocations: 0 / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.259e-05, allocations: 6.25 kB / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.004466/0.004488, allocations: 4.299 MB / 277.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002258/0.006746, allocations: 1.387 MB / 279 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004089/0.007155, allocations: 39.69 kB / 279.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003438/0.007499, allocations: 178.2 kB / 279.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003968/0.007896, allocations: 182 kB / 279.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007283/0.008624, allocations: 383.3 kB / 279.8 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008798/0.009504, allocations: 1.001 MB / 280.8 MB, free: 9.734 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003801/0.009884, allocations: 267.4 kB / 281 MB, free: 9.453 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006162/0.0105, allocations: 0.5066 MB / 281.5 MB, free: 8.945 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.01077, allocations: 243.1 kB / 281.8 MB, free: 8.707 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.715e-05/0.01085, allocations: 72 kB / 281.9 MB, free: 8.637 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.01102, allocations: 115.9 kB / 282 MB, free: 8.523 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.176e-05/0.01111, allocations: 179.2 kB / 282.1 MB, free: 8.348 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.01129, allocations: 263.3 kB / 282.4 MB, free: 8.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000731/0.01202, allocations: 0.6884 MB / 283.1 MB, free: 7.398 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.01202, allocations: 0 / 283.1 MB, free: 7.398 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.01203, allocations: 0 / 283.1 MB, free: 7.398 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.826e-05/0.01204, allocations: 0 / 283.1 MB, free: 7.398 MB / 266.7 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.00141/0.01345, allocations: 1.204 MB / 284.3 MB, free: 6.152 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.0135, allocations: 12.03 kB / 284.3 MB, free: 6.141 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000264/0.01376, allocations: 175.3 kB / 284.5 MB, free: 5.969 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006425/0.01441, allocations: 0.6047 MB / 285.1 MB, free: 5.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/0.01444, allocations: 62 kB / 285.1 MB, free: 5.281 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-05/0.01453, allocations: 83.94 kB / 285.2 MB, free: 5.199 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007159/0.01524, allocations: 0.7764 MB / 286 MB, free: 4.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/0.01528, allocations: 7.938 kB / 286 MB, free: 4.262 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.89e-05/0.01532, allocations: 35.94 kB / 286 MB, free: 4.227 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.01534, allocations: 24 kB / 286.1 MB, free: 4.203 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004251/0.01576, allocations: 277.3 kB / 286.3 MB, free: 3.934 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1194/0.1352, allocations: 5.48 MB / 291.8 MB, free: 21.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.1355, allocations: 199.9 kB / 292 MB, free: 21.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.275e-05/0.1356, allocations: 77.16 kB / 292.1 MB, free: 21.44 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.184e-05/0.1357, allocations: 18.17 kB / 292.1 MB, free: 21.44 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.1357, allocations: 39.72 kB / 292.1 MB, free: 21.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.334e-06/0.1357, allocations: 1.062 kB / 292.1 MB, free: 21.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.001708/0.1374, allocations: 1.177 MB / 293.3 MB, free: 21.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.08e-05/0.1375, allocations: 62.61 kB / 293.4 MB, free: 21.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/0.1378, allocations: 0.5592 MB / 293.9 MB, free: 20.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1379, allocations: 35.3 kB / 294 MB, free: 20.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.1381, allocations: 0.5339 MB / 294.5 MB, free: 20.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.501e-05/0.1382, allocations: 224 kB / 294.7 MB, free: 20.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.1383, allocations: 150.9 kB / 294.9 MB, free: 20.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1384, allocations: 0.5582 MB / 295.4 MB, free: 19.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.1385, allocations: 70.95 kB / 295.5 MB, free: 19.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.1387, allocations: 489.8 kB / 296 MB, free: 19.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003873/0.1391, allocations: 0.6268 MB / 296.6 MB, free: 18.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.1391, allocations: 2.875 kB / 296.6 MB, free: 18.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0006075/0.1397, allocations: 0.6015 MB / 297.2 MB, free: 18.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1397, allocations: 12.41 kB / 297.2 MB, free: 18.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.1397, allocations: 10.03 kB / 297.2 MB, free: 18.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000123/0.1399, allocations: 46.11 kB / 297.3 MB, free: 18.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.1402, allocations: 187.5 kB / 297.5 MB, free: 18.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007561/0.141, allocations: 2.053 MB / 299.5 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.1412, allocations: 26.27 kB / 299.5 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.1412, allocations: 30.67 kB / 299.6 MB, free: 16.82 MB / 266.7 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.0001436/0.1413, allocations: 211.7 kB / 299.8 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-05/0.1414, allocations: 92.2 kB / 299.9 MB, free: 16.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.81e-05/0.1415, allocations: 75.64 kB / 299.9 MB, free: 16.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.1415, allocations: 6.938 kB / 300 MB, free: 16.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.1415, allocations: 0.6562 kB / 300 MB, free: 16.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.1415, allocations: 12.28 kB / 300 MB, free: 16.58 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.1426, allocations: 1.027 MB / 301 MB, free: 16.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.1426, allocations: 2.969 kB / 301 MB, free: 16.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002836/0.1429, allocations: 120.9 kB / 301.1 MB, free: 16.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.857e-05/0.1429, allocations: 26.75 kB / 301.1 MB, free: 16.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.143, allocations: 12.81 kB / 301.1 MB, free: 16.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004802/0.1434, allocations: 1.71 MB / 302.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1434, allocations: 10.47 kB / 302.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006665/0.1441, allocations: 0.6708 MB / 303.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.708e-05/0.1442, allocations: 63.02 kB / 303.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/0.1442, allocations: 14.58 kB / 303.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.1444, allocations: 12.28 kB / 303.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.447e-05/0.1445, allocations: 52.7 kB / 303.7 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.1445, allocations: 16.47 kB / 303.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002493/0.1448, allocations: 340.2 kB / 304 MB, free: 13.79 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1448, allocations: 0 / 304 MB, free: 13.79 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004932/0.1453, allocations: 137.9 kB / 304.2 MB, free: 13.77 MB / 266.7 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.0001083/0.1454, allocations: 122.7 kB / 304.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005363/0.1459, allocations: 0.5121 MB / 304.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1459, allocations: 1.062 kB / 304.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.1461, allocations: 320.4 kB / 305.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.1465, allocations: 103.6 kB / 305.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.1485, allocations: 1.654 MB / 306.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.1486, allocations: 160 kB / 307 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002103/0.1488, allocations: 88.11 kB / 307.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.149, allocations: 196.1 kB / 307.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of SimCode: time 9.81e-07/0.149, allocations: 0 / 307.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of Templates: time 0.01021/0.1593, allocations: 5.77 MB / 313.1 MB, free: 9.609 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8343841349706054]