Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008277/0.0008277, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003845/0.003845, allocations: 160.4 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8772/0.8772, allocations: 177.1 MB / 205 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.436e-05, allocations: 8.812 kB / 325.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.004599/0.004623, allocations: 5.305 MB / 331.2 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002771/0.007394, allocations: 1.702 MB / 332.9 MB, free: 8.355 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005347/0.007928, allocations: 39.69 kB / 332.9 MB, free: 8.316 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004016/0.00833, allocations: 253.5 kB / 333.1 MB, free: 8.066 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004182/0.008748, allocations: 233.6 kB / 333.4 MB, free: 7.836 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008442/0.009592, allocations: 0.5303 MB / 333.9 MB, free: 7.305 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001221/0.01081, allocations: 1.426 MB / 335.3 MB, free: 5.875 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004854/0.0113, allocations: 416.3 kB / 335.7 MB, free: 5.449 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006345/0.01193, allocations: 0.7289 MB / 336.5 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.01221, allocations: 334.8 kB / 336.8 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.994e-05/0.0123, allocations: 124 kB / 336.9 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.01246, allocations: 140 kB / 337.1 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.01258, allocations: 271 kB / 337.3 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.01281, allocations: 398.9 kB / 337.7 MB, free: 3.477 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.01393, allocations: 1.627 MB / 339.3 MB, free: 1.844 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.01393, allocations: 3.938 kB / 339.3 MB, free: 1.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.01393, allocations: 0 / 339.3 MB, free: 1.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.01395, allocations: 0 / 339.3 MB, free: 1.84 MB / 298.7 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.001394/0.01534, allocations: 1.415 MB / 340.8 MB, free: 400 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.01538, allocations: 11.97 kB / 340.8 MB, free: 388 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000259/0.01564, allocations: 163 kB / 340.9 MB, free: 224 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.01675, allocations: 0.6835 MB / 341.6 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/0.0168, allocations: 86.41 kB / 341.7 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.845e-05/0.0169, allocations: 119.9 kB / 341.8 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.01815, allocations: 1.326 MB / 343.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.01818, allocations: 7.891 kB / 343.1 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.672e-05/0.01824, allocations: 56 kB / 343.2 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.01825, allocations: 32 kB / 343.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008197/0.01907, allocations: 0.689 MB / 343.9 MB, free: 13.01 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004655/0.02373, allocations: 6.27 MB / 350.2 MB, free: 6.414 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005237/0.02425, allocations: 249.2 kB / 350.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.02449, allocations: 161.6 kB / 350.6 MB, free: 5.988 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.19e-05/0.02458, allocations: 8 kB / 350.6 MB, free: 5.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.02461, allocations: 39.05 kB / 350.6 MB, free: 5.934 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 2.565e-06/0.02461, allocations: 0 / 350.6 MB, free: 5.934 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001822/0.02643, allocations: 1.285 MB / 351.9 MB, free: 4.582 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.02648, allocations: 89.09 kB / 352 MB, free: 4.477 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005765/0.02705, allocations: 0.6762 MB / 352.7 MB, free: 3.789 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.02708, allocations: 33.69 kB / 352.7 MB, free: 3.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000316/0.02739, allocations: 0.6977 MB / 353.4 MB, free: 3.043 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.531e-05/0.02747, allocations: 115.1 kB / 353.5 MB, free: 2.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.0276, allocations: 146.5 kB / 353.7 MB, free: 2.781 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.02775, allocations: 390.7 kB / 354 MB, free: 2.391 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.02793, allocations: 137.9 kB / 354.2 MB, free: 2.254 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003588/0.02828, allocations: 0.5587 MB / 354.7 MB, free: 1.5 MB / 314.7 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.001054/0.02934, allocations: 0.8102 MB / 355.6 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.932e-05/0.02936, allocations: 4 kB / 355.6 MB, free: 500 kB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0008997/0.03026, allocations: 0.787 MB / 356.3 MB, free: 15.69 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.03028, allocations: 12 kB / 356.4 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.0303, allocations: 19.98 kB / 356.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002025/0.0305, allocations: 81.69 kB / 356.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.0308, allocations: 175.7 kB / 356.6 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.03257, allocations: 3.076 MB / 359.7 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.03284, allocations: 35.98 kB / 359.7 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.03287, allocations: 36 kB / 359.8 MB, free: 12.06 MB / 330.7 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.0003877/0.03326, allocations: 281.4 kB / 360 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.188e-05/0.03334, allocations: 79.48 kB / 360.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.343e-05/0.03341, allocations: 74.34 kB / 360.2 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.03341, allocations: 3.938 kB / 360.2 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.03342, allocations: 4 kB / 360.2 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.03343, allocations: 3.984 kB / 360.2 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.03452, allocations: 1.052 MB / 361.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.03452, allocations: 4.031 kB / 361.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.03469, allocations: 67.89 kB / 361.3 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001031/0.03479, allocations: 53.69 kB / 361.4 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.03481, allocations: 11.94 kB / 361.4 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001518/0.03633, allocations: 2.786 MB / 364.2 MB, free: 7.371 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.03633, allocations: 0 / 364.2 MB, free: 7.371 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005492/0.03688, allocations: 0.6363 MB / 364.8 MB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.03694, allocations: 67.55 kB / 364.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.03697, allocations: 7.984 kB / 364.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.03709, allocations: 24 kB / 364.9 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.03715, allocations: 23.95 kB / 364.9 MB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.03716, allocations: 8 kB / 364.9 MB, free: 6.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003424/0.03751, allocations: 435 kB / 365.4 MB, free: 6.152 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.03751, allocations: 0 / 365.4 MB, free: 6.152 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006407/0.03815, allocations: 156 kB / 365.5 MB, free: 6 MB / 330.7 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.0001252/0.03827, allocations: 111.3 kB / 365.6 MB, free: 5.883 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007167/0.03899, allocations: 0.6305 MB / 366.3 MB, free: 5.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.03899, allocations: 0 / 366.3 MB, free: 5.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.03925, allocations: 346.5 kB / 366.6 MB, free: 4.867 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.03963, allocations: 83.55 kB / 366.7 MB, free: 4.781 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.04166, allocations: 1.764 MB / 368.4 MB, free: 2.969 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.04195, allocations: 454.7 kB / 368.9 MB, free: 2.488 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.714e-05/0.04205, allocations: 64.47 kB / 369 MB, free: 2.426 MB / 330.7 MB Notification: Performance of SimCode: time 1.132e-06/0.04205, allocations: 0 / 369 MB, free: 2.426 MB / 330.7 MB Notification: Performance of Templates: time 0.01673/0.05878, allocations: 20.07 MB / 389 MB, free: 14.34 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.984989416785538]