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.0007493/0.0007493, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001309/0.002058, allocations: 457.8 kB / 10.45 MB, free: 240 kB / 10.45 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.0009149/0.0009149, allocations: 162 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001296/0.002211, allocations: 475.6 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9737/0.9737, allocations: 177.5 MB / 190 MB, free: 4.773 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09254/1.066, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.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.522e-06/1.522e-06, allocations: 0 / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.222e-05, allocations: 2.312 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006336/0.006358, allocations: 4.391 MB / 249.6 MB, free: 9.145 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003309/0.009667, allocations: 1.445 MB / 251 MB, free: 7.695 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005987/0.01027, allocations: 35.69 kB / 251.1 MB, free: 7.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003914/0.01066, allocations: 182.1 kB / 251.2 MB, free: 7.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000544/0.0112, allocations: 190 kB / 251.4 MB, free: 7.293 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009422/0.01214, allocations: 383.3 kB / 251.8 MB, free: 6.918 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001238/0.01338, allocations: 0.9778 MB / 252.8 MB, free: 5.938 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005225/0.0139, allocations: 287.4 kB / 253.1 MB, free: 5.629 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008177/0.01472, allocations: 0.5261 MB / 253.6 MB, free: 5.102 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003772/0.0151, allocations: 235.1 kB / 253.8 MB, free: 4.871 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.01523, allocations: 72 kB / 253.9 MB, free: 4.801 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003073/0.01554, allocations: 131.8 kB / 254 MB, free: 4.672 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.01567, allocations: 143.4 kB / 254.2 MB, free: 4.531 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000284/0.01595, allocations: 219.4 kB / 254.4 MB, free: 4.316 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008988/0.01685, allocations: 0.6417 MB / 255 MB, free: 3.672 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.304e-05/0.01686, allocations: 0 / 255 MB, free: 3.672 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.01687, allocations: 0 / 255 MB, free: 3.672 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.224e-05/0.01689, allocations: 0 / 255 MB, free: 3.672 MB / 250.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.001572/0.01846, allocations: 1.251 MB / 256.3 MB, free: 2.395 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.0185, allocations: 12.62 kB / 256.3 MB, free: 2.383 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003482/0.01885, allocations: 217 kB / 256.5 MB, free: 2.152 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008669/0.01972, allocations: 0.4927 MB / 257 MB, free: 1.633 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.631e-05/0.01977, allocations: 62 kB / 257 MB, free: 1.57 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.01988, allocations: 83.94 kB / 257.1 MB, free: 1.488 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000961/0.02084, allocations: 0.708 MB / 257.8 MB, free: 0.668 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.077e-05/0.02088, allocations: 7.953 kB / 257.8 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.251e-05/0.02094, allocations: 35.94 kB / 257.9 MB, free: 0.625 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.02096, allocations: 24 kB / 257.9 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005062/0.02147, allocations: 273.3 kB / 258.2 MB, free: 340 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002907/0.02437, allocations: 3.741 MB / 261.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000392/0.02477, allocations: 192.1 kB / 262.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.02487, allocations: 69.52 kB / 262.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.327e-05/0.02496, allocations: 12.38 kB / 262.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.02499, allocations: 42.94 kB / 262.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.084e-06/0.02499, allocations: 0 / 262.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.002565/0.02756, allocations: 1.183 MB / 263.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.02759, allocations: 59.91 kB / 263.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004542/0.02804, allocations: 0.5115 MB / 264 MB, free: 10.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.02807, allocations: 41.64 kB / 264 MB, free: 10.22 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.02831, allocations: 420.9 kB / 264.4 MB, free: 9.805 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.02846, allocations: 222.1 kB / 264.6 MB, free: 9.586 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.02863, allocations: 142.5 kB / 264.8 MB, free: 9.438 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.02877, allocations: 394.6 kB / 265.2 MB, free: 9.043 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.0289, allocations: 65.95 kB / 265.2 MB, free: 8.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/0.0292, allocations: 363.2 kB / 265.6 MB, free: 8.488 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005722/0.02977, allocations: 0.5352 MB / 266.1 MB, free: 7.824 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.02978, allocations: 7.938 kB / 266.1 MB, free: 7.816 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0007441/0.03052, allocations: 482.8 kB / 266.6 MB, free: 7.332 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.03055, allocations: 8 kB / 266.6 MB, free: 7.324 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.03056, allocations: 12 kB / 266.6 MB, free: 7.312 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000146/0.03071, allocations: 41.59 kB / 266.7 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006228/0.03133, allocations: 227.7 kB / 266.9 MB, free: 7.047 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/0.03237, allocations: 1.398 MB / 268.3 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003147/0.03268, allocations: 28 kB / 268.3 MB, free: 5.539 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/0.03273, allocations: 35.92 kB / 268.3 MB, free: 5.504 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.0001945/0.03292, allocations: 157.6 kB / 268.5 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.205e-05/0.03301, allocations: 63.94 kB / 268.6 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.03312, allocations: 83.02 kB / 268.6 MB, free: 5.184 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.03312, allocations: 4 kB / 268.6 MB, free: 5.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.03313, allocations: 0 / 268.6 MB, free: 5.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.03313, allocations: 7.984 kB / 268.7 MB, free: 5.172 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.03444, allocations: 0.8169 MB / 269.5 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.03444, allocations: 4.125 kB / 269.5 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000481/0.03492, allocations: 143.8 kB / 269.6 MB, free: 4.148 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.352e-05/0.035, allocations: 63.52 kB / 269.7 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.611e-05/0.03507, allocations: 20.8 kB / 269.7 MB, free: 4.062 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.0351, allocations: 15.98 kB / 269.7 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006679/0.03577, allocations: 1.155 MB / 270.9 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.03578, allocations: 4 kB / 270.9 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006028/0.03638, allocations: 0.5125 MB / 271.4 MB, free: 2.238 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.345e-05/0.03643, allocations: 16 kB / 271.4 MB, free: 2.223 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.03661, allocations: 16.12 kB / 271.4 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/0.03669, allocations: 43.86 kB / 271.5 MB, free: 2.164 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.03671, allocations: 16 kB / 271.5 MB, free: 2.148 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000228/0.03694, allocations: 236.5 kB / 271.7 MB, free: 1.922 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.03694, allocations: 0 / 271.7 MB, free: 1.922 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006657/0.0376, allocations: 140 kB / 271.8 MB, free: 1.785 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.0001422/0.03774, allocations: 92.36 kB / 271.9 MB, free: 1.688 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006781/0.03842, allocations: 469.9 kB / 272.4 MB, free: 1.223 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-05/0.03845, allocations: 20.38 kB / 272.4 MB, free: 1.203 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003068/0.03876, allocations: 284.6 kB / 272.7 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008366/0.0396, allocations: 0.8282 MB / 273.5 MB, free: 15.94 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003069/0.04266, allocations: 1.424 MB / 274.9 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.0428, allocations: 167.1 kB / 275.1 MB, free: 14.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000219/0.04302, allocations: 90 kB / 275.2 MB, free: 14.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/0.04325, allocations: 159.3 kB / 275.3 MB, free: 14.02 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.04325, allocations: 4 kB / 275.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of Templates: time 0.009241/0.05249, allocations: 5.602 MB / 281 MB, free: 8.531 MB / 282.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5803198413923383]