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.0009725/0.0009725, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0008962/0.0008962, allocations: 161 kB / 24.91 MB, free: 9.184 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.9966/0.9966, allocations: 177 MB / 205.2 MB, free: 5.441 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.483e-06/1.483e-06, allocations: 0 / 273.4 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.268e-05/1.417e-05, allocations: 6.25 kB / 273.4 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.003731/0.003745, allocations: 4.309 MB / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.005841, allocations: 1.441 MB / 279.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002587/0.006099, allocations: 39.69 kB / 279.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002636/0.006363, allocations: 174.2 kB / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002646/0.006628, allocations: 182 kB / 279.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005944/0.007222, allocations: 383.3 kB / 279.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007753/0.007997, allocations: 0.9934 MB / 280.9 MB, free: 9.676 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003196/0.008317, allocations: 287.4 kB / 281.2 MB, free: 9.367 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005472/0.008864, allocations: 0.4988 MB / 281.7 MB, free: 8.867 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.009115, allocations: 243.1 kB / 281.9 MB, free: 8.629 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.636e-05/0.009192, allocations: 72 kB / 282 MB, free: 8.559 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.009344, allocations: 119.8 kB / 282.1 MB, free: 8.441 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.653e-05/0.00944, allocations: 179.2 kB / 282.3 MB, free: 8.266 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.009599, allocations: 263.2 kB / 282.5 MB, free: 8.008 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005323/0.01013, allocations: 0.6884 MB / 283.2 MB, free: 7.316 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.01013, allocations: 0 / 283.2 MB, free: 7.316 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01013, allocations: 0 / 283.2 MB, free: 7.316 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.01014, allocations: 4 kB / 283.2 MB, free: 7.312 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.0009043/0.01104, allocations: 1.076 MB / 284.3 MB, free: 6.207 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.01108, allocations: 12.03 kB / 284.3 MB, free: 6.195 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002099/0.01129, allocations: 135.9 kB / 284.4 MB, free: 6.062 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000584/0.01188, allocations: 0.4966 MB / 284.9 MB, free: 5.539 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.532e-05/0.01191, allocations: 65.98 kB / 285 MB, free: 5.477 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.808e-05/0.01199, allocations: 83.95 kB / 285.1 MB, free: 5.395 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006086/0.0126, allocations: 0.7047 MB / 285.8 MB, free: 4.574 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.01262, allocations: 11.94 kB / 285.8 MB, free: 4.562 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.01266, allocations: 35.94 kB / 285.8 MB, free: 4.527 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.01267, allocations: 24 kB / 285.8 MB, free: 4.504 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002908/0.01296, allocations: 265.3 kB / 286.1 MB, free: 4.246 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.01501, allocations: 3.722 MB / 289.8 MB, free: 364 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.01526, allocations: 188.2 kB / 290 MB, free: 168 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.986e-05/0.01533, allocations: 73.45 kB / 290.1 MB, free: 92 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.383e-05/0.0154, allocations: 16.36 kB / 290.1 MB, free: 76 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.01542, allocations: 38.94 kB / 290.1 MB, free: 28 kB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.723e-06/0.01543, allocations: 0 / 290.1 MB, free: 28 kB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.1057/0.1212, allocations: 1.157 MB / 291.3 MB, free: 26.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/0.1212, allocations: 59.06 kB / 291.4 MB, free: 26.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003252/0.1215, allocations: 0.5145 MB / 291.9 MB, free: 26.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.1215, allocations: 32.55 kB / 291.9 MB, free: 26.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.1217, allocations: 420.1 kB / 292.3 MB, free: 25.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.94e-05/0.1218, allocations: 223.4 kB / 292.5 MB, free: 25.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.1219, allocations: 144.5 kB / 292.7 MB, free: 25.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.199e-05/0.1219, allocations: 393.6 kB / 293.1 MB, free: 25.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-05/0.122, allocations: 64.31 kB / 293.1 MB, free: 25.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.1222, allocations: 363.4 kB / 293.5 MB, free: 25.03 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003295/0.1225, allocations: 0.5177 MB / 294 MB, free: 24.69 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.1225, allocations: 5.531 kB / 294 MB, free: 24.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0004897/0.123, allocations: 486 kB / 294.5 MB, free: 24.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.123, allocations: 9.531 kB / 294.5 MB, free: 24.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.123, allocations: 10.47 kB / 294.5 MB, free: 24.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001103/0.1231, allocations: 45.22 kB / 294.5 MB, free: 24.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/0.1235, allocations: 180.1 kB / 294.7 MB, free: 24.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005656/0.124, allocations: 1.405 MB / 296.1 MB, free: 23.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.1242, allocations: 28.66 kB / 296.1 MB, free: 23.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.1242, allocations: 30.47 kB / 296.2 MB, free: 23.32 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.0001125/0.1243, allocations: 170 kB / 296.3 MB, free: 23.19 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-05/0.1244, allocations: 64.22 kB / 296.4 MB, free: 23.19 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.945e-05/0.1245, allocations: 75.67 kB / 296.5 MB, free: 23.17 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1245, allocations: 5.719 kB / 296.5 MB, free: 23.17 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.1245, allocations: 1.188 kB / 296.5 MB, free: 23.17 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1245, allocations: 3.094 kB / 296.5 MB, free: 23.17 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008137/0.1253, allocations: 0.8143 MB / 297.3 MB, free: 22.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1253, allocations: 3.375 kB / 297.3 MB, free: 22.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.1256, allocations: 119.3 kB / 297.4 MB, free: 22.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.074e-05/0.1256, allocations: 20.84 kB / 297.4 MB, free: 22.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.1256, allocations: 15.06 kB / 297.5 MB, free: 22.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002934/0.1259, allocations: 1.16 MB / 298.6 MB, free: 21.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1259, allocations: 11.41 kB / 298.6 MB, free: 21.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/0.1263, allocations: 0.5086 MB / 299.1 MB, free: 21.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.1264, allocations: 59.94 kB / 299.2 MB, free: 21.39 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.1264, allocations: 18.05 kB / 299.2 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.583e-05/0.1265, allocations: 12.55 kB / 299.2 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.185e-05/0.1266, allocations: 48.69 kB / 299.3 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.1266, allocations: 12.28 kB / 299.3 MB, free: 21.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001728/0.1267, allocations: 229.7 kB / 299.5 MB, free: 21.36 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1267, allocations: 4.156 kB / 299.5 MB, free: 21.36 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003837/0.1271, allocations: 140.5 kB / 299.6 MB, free: 21.36 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 8.505e-05/0.1272, allocations: 103.8 kB / 299.7 MB, free: 21.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004208/0.1276, allocations: 456.4 kB / 300.2 MB, free: 21.1 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/0.1276, allocations: 9.156 kB / 300.2 MB, free: 21.1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.1278, allocations: 254.1 kB / 300.4 MB, free: 20.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.1281, allocations: 96.64 kB / 300.5 MB, free: 20.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.1296, allocations: 1.428 MB / 302 MB, free: 20.13 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.1298, allocations: 161.6 kB / 302.1 MB, free: 20.06 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001793/0.1299, allocations: 90.67 kB / 302.2 MB, free: 20.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.1301, allocations: 161.7 kB / 302.4 MB, free: 19.99 MB / 266.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1301, allocations: 0 / 302.4 MB, free: 19.99 MB / 266.7 MB Notification: Performance of Templates: time 0.008241/0.1384, allocations: 5.752 MB / 308.1 MB, free: 18.02 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.7837324114516377]