Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.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.001892/0.001892, allocations: 109.1 kB / 21.18 MB, free: 0.7852 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.002436/0.002436, allocations: 218 kB / 24.5 MB, free: 4.172 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.458/1.458, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.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.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 63.91 kB / 379 MB, free: 2.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2305, allocations: 53.41 MB / 432.5 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.007673/0.2382, allocations: 6.054 MB / 438.5 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003436/0.2416, allocations: 1.757 MB / 440.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006711/0.2423, allocations: 43.69 kB / 440.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005996/0.2429, allocations: 245.6 kB / 440.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005522/0.2434, allocations: 221.7 kB / 440.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.2445, allocations: 0.5265 MB / 441.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001425/0.2459, allocations: 1.387 MB / 442.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006876/0.2466, allocations: 448.2 kB / 443.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006161/0.2472, allocations: 0.4904 MB / 443.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000549/0.2478, allocations: 0.4895 MB / 444.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001568/0.2479, allocations: 124 kB / 444.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002257/0.2481, allocations: 140 kB / 444.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002209/0.2484, allocations: 271 kB / 444.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005264/0.2489, allocations: 0.6139 MB / 445.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.2506, allocations: 1.623 MB / 446.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2506, allocations: 4 kB / 446.9 MB, free: 8.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2506, allocations: 7.938 kB / 446.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.2506, allocations: 3.938 kB / 446.9 MB, free: 8.277 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002089/0.2527, allocations: 1.424 MB / 448.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.2527, allocations: 8.031 kB / 448.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003862/0.2531, allocations: 171 kB / 448.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.2543, allocations: 0.6873 MB / 449.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.576e-05/0.2544, allocations: 90.41 kB / 449.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.2545, allocations: 124 kB / 449.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.2565, allocations: 1.264 MB / 450.6 MB, free: 4.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/0.2565, allocations: 7.938 kB / 450.6 MB, free: 4.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.078e-05/0.2566, allocations: 52 kB / 450.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.829e-05/0.2566, allocations: 32 kB / 450.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.2579, allocations: 0.689 MB / 451.4 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006389/0.2643, allocations: 6.676 MB / 458.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006898/0.265, allocations: 249.3 kB / 458.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003716/0.2654, allocations: 165.6 kB / 458.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.861e-05/0.2655, allocations: 11.94 kB / 458.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.2655, allocations: 34.56 kB / 458.5 MB, free: 12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.004e-06/0.2655, allocations: 0 / 458.5 MB, free: 12 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002584/0.2681, allocations: 1.281 MB / 459.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.2682, allocations: 81.11 kB / 459.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008115/0.269, allocations: 0.6648 MB / 460.6 MB, free: 9.883 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.269, allocations: 29.7 kB / 460.6 MB, free: 9.848 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005159/0.2695, allocations: 0.7054 MB / 461.3 MB, free: 9.133 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.2696, allocations: 127 kB / 461.4 MB, free: 9.008 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/0.2698, allocations: 138.6 kB / 461.6 MB, free: 8.867 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002796/0.2701, allocations: 382.8 kB / 461.9 MB, free: 8.484 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.2704, allocations: 149.9 kB / 462.1 MB, free: 8.336 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006059/0.271, allocations: 0.5471 MB / 462.6 MB, free: 7.594 MB / 366.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y ($START.inverseCapacitor1.capacitor.v = $START.directCapacitor1.currentToVoltage.y) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y ($START.inverseInductor3.inductor.i = $START.directInductor3.currentToVoltage.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.2722, allocations: 0.8158 MB / 463.4 MB, free: 6.578 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-06/0.2722, allocations: 7.938 kB / 463.5 MB, free: 6.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001306/0.2735, allocations: 0.7977 MB / 464.2 MB, free: 5.766 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.2735, allocations: 12 kB / 464.3 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.2735, allocations: 16 kB / 464.3 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002392/0.2738, allocations: 77.69 kB / 464.4 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005602/0.2743, allocations: 187.7 kB / 464.5 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002682/0.277, allocations: 3.122 MB / 467.7 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003872/0.2774, allocations: 35.98 kB / 467.7 MB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/0.2775, allocations: 40 kB / 467.7 MB, free: 2.051 MB / 366.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004134/0.2779, allocations: 273.3 kB / 468 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.278, allocations: 75.52 kB / 468.1 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.2781, allocations: 70.36 kB / 468.1 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2781, allocations: 4 kB / 468.1 MB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.2781, allocations: 4.062 kB / 468.1 MB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.2781, allocations: 3.984 kB / 468.2 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.28, allocations: 1.226 MB / 469.4 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.28, allocations: 3.938 kB / 469.4 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/0.2803, allocations: 67.89 kB / 469.4 MB, free: 264 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001541/0.2805, allocations: 53.69 kB / 469.5 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.2805, allocations: 8 kB / 469.5 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/0.2828, allocations: 2.85 MB / 472.4 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2828, allocations: 0 / 472.4 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009045/0.2837, allocations: 0.6364 MB / 473 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.2838, allocations: 63.55 kB / 473.1 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/0.2839, allocations: 16.17 kB / 473.1 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.2841, allocations: 16 kB / 473.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/0.2842, allocations: 31.88 kB / 473.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.2842, allocations: 15.98 kB / 473.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005377/0.2847, allocations: 431 kB / 473.6 MB, free: 11.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2847, allocations: 0 / 473.6 MB, free: 11.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000871/0.2856, allocations: 164 kB / 473.7 MB, free: 11.72 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inverseInductor3.inductor.i,inductor4a.i,inductor4b.i,directCapacitor1.currentToVoltage.y,capacitor2a.v,capacitor2b.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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000138/0.2858, allocations: 110.7 kB / 473.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.2868, allocations: 0.6294 MB / 474.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2868, allocations: 4 kB / 474.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004843/0.2873, allocations: 353.2 kB / 474.8 MB, free: 10.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005325/0.2878, allocations: 82.05 kB / 474.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003071/0.2909, allocations: 1.897 MB / 476.8 MB, free: 8.562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006927/0.2916, allocations: 1.031 MB / 477.8 MB, free: 7.504 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.2918, allocations: 63.42 kB / 477.9 MB, free: 7.441 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2918, allocations: 0 / 477.9 MB, free: 7.441 MB / 382.1 MB Notification: Performance of Templates: time 0.02371/0.3155, allocations: 19.73 MB / 497.6 MB, free: 3.688 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.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: 8.219741966808215]