Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 78.97 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 152.8 kB / 24.81 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.005/1.005, allocations: 173.3 MB / 201.4 MB, free: 9.18 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 268.4 MB, free: 6.145 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.862e-05, allocations: 6.25 kB / 268.4 MB, free: 6.137 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.005515/0.005543, allocations: 5.58 MB / 274 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002977/0.00852, allocations: 1.632 MB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004856/0.009006, allocations: 39.69 kB / 275.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003937/0.009399, allocations: 249.6 kB / 275.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000341/0.00974, allocations: 249.2 kB / 276.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006778/0.01042, allocations: 0.4993 MB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009198/0.01134, allocations: 1.426 MB / 278.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004707/0.01181, allocations: 420.2 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005583/0.01237, allocations: 0.7406 MB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.01267, allocations: 346.8 kB / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.01278, allocations: 120 kB / 279.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.01294, allocations: 136 kB / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.01308, allocations: 270.9 kB / 280.1 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002335/0.01331, allocations: 398.9 kB / 280.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007223/0.01404, allocations: 0.9375 MB / 281.4 MB, free: 9.066 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.01404, allocations: 0 / 281.4 MB, free: 9.066 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01404, allocations: 0 / 281.4 MB, free: 9.066 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.01405, allocations: 0 / 281.4 MB, free: 9.066 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.001257/0.0153, allocations: 1.524 MB / 282.9 MB, free: 7.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.01535, allocations: 12.92 kB / 283 MB, free: 7.488 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.01553, allocations: 247.1 kB / 283.2 MB, free: 7.246 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006607/0.01619, allocations: 0.7292 MB / 283.9 MB, free: 6.488 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.955e-05/0.01624, allocations: 90.41 kB / 284 MB, free: 6.398 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.662e-05/0.01633, allocations: 127.9 kB / 284.1 MB, free: 6.273 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009434/0.01728, allocations: 1.161 MB / 285.3 MB, free: 4.871 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.0173, allocations: 15.81 kB / 285.3 MB, free: 4.855 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.328e-05/0.01735, allocations: 63.98 kB / 285.4 MB, free: 4.793 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.01737, allocations: 32 kB / 285.4 MB, free: 4.762 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003919/0.01776, allocations: 377.5 kB / 285.8 MB, free: 4.391 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1259/0.1436, allocations: 8.254 MB / 294 MB, free: 23.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004275/0.1441, allocations: 201.5 kB / 294.2 MB, free: 23.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.1442, allocations: 118.4 kB / 294.3 MB, free: 23.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.069e-05/0.1443, allocations: 11.78 kB / 294.4 MB, free: 23.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.1443, allocations: 40.23 kB / 294.4 MB, free: 23.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.994e-06/0.1443, allocations: 0.875 kB / 294.4 MB, free: 23.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001242/0.1456, allocations: 0.7906 MB / 295.2 MB, free: 23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.1456, allocations: 81.55 kB / 295.3 MB, free: 22.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005182/0.1461, allocations: 0.678 MB / 295.9 MB, free: 22.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.1461, allocations: 30.58 kB / 296 MB, free: 22.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000295/0.1464, allocations: 0.753 MB / 296.7 MB, free: 22.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.291e-05/0.1465, allocations: 122.3 kB / 296.8 MB, free: 22.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.1466, allocations: 153.4 kB / 297 MB, free: 22.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1467, allocations: 0.5637 MB / 297.6 MB, free: 21.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.852e-05/0.1468, allocations: 63.34 kB / 297.6 MB, free: 21.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.1471, allocations: 0.6545 MB / 298.3 MB, free: 20.93 MB / 266.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.0006978/0.1478, allocations: 0.8446 MB / 299.1 MB, free: 20.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/0.1478, allocations: 4.688 kB / 299.1 MB, free: 20.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.000781/0.1486, allocations: 0.6575 MB / 299.8 MB, free: 19.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.1486, allocations: 10.75 kB / 299.8 MB, free: 19.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.1486, allocations: 18.61 kB / 299.8 MB, free: 19.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001836/0.1488, allocations: 78.08 kB / 299.9 MB, free: 19.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/0.1491, allocations: 183.3 kB / 300.1 MB, free: 19.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.1505, allocations: 4.076 MB / 304.1 MB, free: 16.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.1507, allocations: 32.17 kB / 304.2 MB, free: 16.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.1508, allocations: 40.83 kB / 304.2 MB, free: 16.05 MB / 266.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,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001788/0.151, allocations: 224.2 kB / 304.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.983e-05/0.151, allocations: 87.25 kB / 304.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.328e-05/0.1511, allocations: 71.8 kB / 304.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1511, allocations: 4.672 kB / 304.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.1511, allocations: 1.219 kB / 304.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1511, allocations: 6.531 kB / 304.6 MB, free: 15.8 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009608/0.1521, allocations: 0.9323 MB / 305.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1521, allocations: 0.8125 kB / 305.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.1523, allocations: 63.98 kB / 305.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001154/0.1524, allocations: 59.28 kB / 305.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.1524, allocations: 15.39 kB / 305.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009229/0.1533, allocations: 3.746 MB / 309.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1533, allocations: 1.953 kB / 309.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004035/0.1537, allocations: 0.6079 MB / 310 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.503e-05/0.1538, allocations: 67.83 kB / 310.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.1538, allocations: 7.203 kB / 310.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.1539, allocations: 14.88 kB / 310.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.154, allocations: 24.75 kB / 310.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.154, allocations: 6.469 kB / 310.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002963/0.1543, allocations: 394.4 kB / 310.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1543, allocations: 0 / 310.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000667/0.155, allocations: 154.7 kB / 310.7 MB, free: 10.99 MB / 266.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.0001245/0.1551, allocations: 113.5 kB / 310.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005664/0.1557, allocations: 0.6634 MB / 311.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1557, allocations: 1.438 kB / 311.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002195/0.1559, allocations: 434.5 kB / 311.9 MB, free: 10.08 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.1563, allocations: 72.72 kB / 312 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.1587, allocations: 1.715 MB / 313.7 MB, free: 8.992 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.1588, allocations: 179.8 kB / 313.8 MB, free: 8.914 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001765/0.159, allocations: 86 kB / 313.9 MB, free: 8.891 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/0.1592, allocations: 190.9 kB / 314.1 MB, free: 8.816 MB / 266.7 MB Notification: Performance of SimCode: time 7.22e-07/0.1592, allocations: 0 / 314.1 MB, free: 8.816 MB / 266.7 MB Notification: Performance of Templates: time 0.01008/0.1693, allocations: 5.705 MB / 319.8 MB, free: 6.238 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/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.796687386929989]