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.001237/0.001237, allocations: 79.69 kB / 21.7 MB, free: 2.844 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.0009048/0.0009048, allocations: 157.8 kB / 24.99 MB, free: 8.25 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 1.014/1.014, allocations: 177 MB / 205.2 MB, free: 5.594 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.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 1.633e-06/1.633e-06, allocations: 0 / 273 MB, free: 1.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.882e-05, allocations: 9.125 kB / 273 MB, free: 1.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.005535/0.005564, allocations: 5.705 MB / 278.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003361/0.008925, allocations: 1.718 MB / 280.4 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008304/0.009755, allocations: 39.69 kB / 280.5 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000523/0.01028, allocations: 253.5 kB / 280.7 MB, free: 9.973 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005703/0.01085, allocations: 229.6 kB / 281 MB, free: 9.746 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.01197, allocations: 0.5303 MB / 281.5 MB, free: 9.215 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.01314, allocations: 1.422 MB / 282.9 MB, free: 7.785 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005107/0.01366, allocations: 416.3 kB / 283.3 MB, free: 7.359 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007163/0.01437, allocations: 0.7328 MB / 284 MB, free: 6.625 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003133/0.01469, allocations: 346.8 kB / 284.4 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.993e-05/0.01478, allocations: 127.9 kB / 284.5 MB, free: 6.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004442/0.01523, allocations: 140 kB / 284.6 MB, free: 6.023 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002924/0.01552, allocations: 271 kB / 284.9 MB, free: 5.758 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002453/0.01577, allocations: 399 kB / 285.3 MB, free: 5.367 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00082/0.01659, allocations: 0.9491 MB / 286.2 MB, free: 4.414 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.01659, allocations: 0 / 286.2 MB, free: 4.414 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.01659, allocations: 0 / 286.2 MB, free: 4.414 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.0166, allocations: 0 / 286.2 MB, free: 4.414 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.001383/0.01799, allocations: 1.521 MB / 287.8 MB, free: 2.852 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.01803, allocations: 8.031 kB / 287.8 MB, free: 2.844 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003434/0.01837, allocations: 259 kB / 288 MB, free: 2.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007629/0.01914, allocations: 0.7448 MB / 288.8 MB, free: 1.816 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/0.01918, allocations: 90.41 kB / 288.9 MB, free: 1.727 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.01929, allocations: 123.9 kB / 289 MB, free: 1.605 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.02047, allocations: 1.239 MB / 290.2 MB, free: 132 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.0205, allocations: 3.938 kB / 290.2 MB, free: 128 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.975e-05/0.02056, allocations: 56 kB / 290.3 MB, free: 72 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.02058, allocations: 32 kB / 290.3 MB, free: 40 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1169/0.1375, allocations: 452.5 kB / 290.8 MB, free: 27.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003918/0.1414, allocations: 8.39 MB / 299.1 MB, free: 20.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004583/0.1419, allocations: 209.3 kB / 299.3 MB, free: 20.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/0.1421, allocations: 129.4 kB / 299.5 MB, free: 20.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.549e-05/0.1422, allocations: 10.28 kB / 299.5 MB, free: 20.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.1422, allocations: 43.95 kB / 299.5 MB, free: 20.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 2.505e-06/0.1422, allocations: 1.875 kB / 299.5 MB, free: 20.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001576/0.1438, allocations: 1.141 MB / 300.7 MB, free: 19.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.1438, allocations: 82.14 kB / 300.8 MB, free: 19.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006121/0.1444, allocations: 0.6852 MB / 301.4 MB, free: 19.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.1445, allocations: 31.08 kB / 301.5 MB, free: 19.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.1448, allocations: 0.7492 MB / 302.2 MB, free: 18.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.77e-05/0.1448, allocations: 117.8 kB / 302.3 MB, free: 18.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.1449, allocations: 153.7 kB / 302.5 MB, free: 18.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1451, allocations: 0.553 MB / 303 MB, free: 18.13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.1452, allocations: 79.73 kB / 303.1 MB, free: 18.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.1455, allocations: 0.6674 MB / 303.8 MB, free: 17.3 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.0006401/0.1461, allocations: 0.8688 MB / 304.6 MB, free: 16.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.1461, allocations: 5.094 kB / 304.7 MB, free: 16.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0008357/0.147, allocations: 0.7142 MB / 305.4 MB, free: 16.08 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.147, allocations: 11.59 kB / 305.4 MB, free: 16.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.147, allocations: 14.81 kB / 305.4 MB, free: 16.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000214/0.1472, allocations: 82.83 kB / 305.5 MB, free: 16.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/0.1475, allocations: 180.3 kB / 305.6 MB, free: 16.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.149, allocations: 4.123 MB / 309.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.1492, allocations: 30.55 kB / 309.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.1493, allocations: 43.78 kB / 309.8 MB, free: 11.95 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,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002352/0.1495, allocations: 232.2 kB / 310.1 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.852e-05/0.1496, allocations: 84.47 kB / 310.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.532e-05/0.1497, allocations: 74.45 kB / 310.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1497, allocations: 3.859 kB / 310.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.1497, allocations: 1.438 kB / 310.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1497, allocations: 2.609 kB / 310.2 MB, free: 11.66 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.001178/0.1509, allocations: 1.076 MB / 311.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.1509, allocations: 6 kB / 311.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.151, allocations: 62.69 kB / 311.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001341/0.1512, allocations: 62.08 kB / 311.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.1512, allocations: 7.156 kB / 311.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.1523, allocations: 3.806 MB / 315.3 MB, free: 7.109 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1523, allocations: 5.188 kB / 315.3 MB, free: 7.105 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006268/0.1529, allocations: 0.6274 MB / 315.9 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/0.153, allocations: 67.05 kB / 315.9 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/0.153, allocations: 11.61 kB / 316 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.1532, allocations: 14.45 kB / 316 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.1533, allocations: 33.88 kB / 316 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.1533, allocations: 7.578 kB / 316 MB, free: 6.566 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000589/0.1539, allocations: 412.4 kB / 316.4 MB, free: 6.379 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1539, allocations: 0 / 316.4 MB, free: 6.379 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00139/0.1553, allocations: 158.9 kB / 316.6 MB, free: 6.359 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.0001539/0.1554, allocations: 108 kB / 316.7 MB, free: 6.262 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.1566, allocations: 0.6871 MB / 317.4 MB, free: 5.801 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.1566, allocations: 1.594 kB / 317.4 MB, free: 5.801 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002922/0.1569, allocations: 441.3 kB / 317.8 MB, free: 5.426 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.1573, allocations: 77.5 kB / 317.9 MB, free: 5.383 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.1597, allocations: 1.71 MB / 319.6 MB, free: 4.336 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.1599, allocations: 179 kB / 319.8 MB, free: 4.258 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001852/0.1601, allocations: 82.06 kB / 319.8 MB, free: 4.238 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.461e-05/0.1601, allocations: 58.48 kB / 319.9 MB, free: 4.227 MB / 266.7 MB Notification: Performance of SimCode: time 1.272e-06/0.1601, allocations: 4 kB / 319.9 MB, free: 4.223 MB / 266.7 MB Notification: Performance of Templates: time 0.008871/0.169, allocations: 5.319 MB / 325.2 MB, free: 15.95 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.978268883191049]