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.001104/0.001104, allocations: 88.86 kB / 21.5 MB, free: 2.984 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.001244/0.001244, allocations: 159.4 kB / 24.91 MB, free: 9.191 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 0.9773/0.9773, allocations: 177 MB / 205.2 MB, free: 5.469 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.693e-06/1.693e-06, allocations: 0 / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.548e-05/1.717e-05, allocations: 2.312 kB / 273.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.004721/0.004738, allocations: 5.652 MB / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003027/0.007765, allocations: 1.783 MB / 280.9 MB, free: 9.707 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003887/0.008154, allocations: 43.69 kB / 280.9 MB, free: 9.664 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.008514, allocations: 249.5 kB / 281.2 MB, free: 9.418 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.00886, allocations: 241.4 kB / 281.4 MB, free: 9.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007349/0.009594, allocations: 0.5187 MB / 281.9 MB, free: 8.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009319/0.01053, allocations: 1.426 MB / 283.3 MB, free: 7.227 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004729/0.011, allocations: 428.2 kB / 283.8 MB, free: 6.781 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006097/0.01161, allocations: 0.7445 MB / 284.5 MB, free: 6.035 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003039/0.01191, allocations: 342.8 kB / 284.8 MB, free: 5.699 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.01201, allocations: 124 kB / 285 MB, free: 5.578 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.01217, allocations: 140 kB / 285.1 MB, free: 5.441 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.0123, allocations: 270.9 kB / 285.4 MB, free: 5.176 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.01251, allocations: 402.9 kB / 285.8 MB, free: 4.781 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006654/0.01318, allocations: 0.9414 MB / 286.7 MB, free: 3.836 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.01318, allocations: 0 / 286.7 MB, free: 3.836 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01318, allocations: 0 / 286.7 MB, free: 3.836 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.515e-06/0.01319, allocations: 0 / 286.7 MB, free: 3.836 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.001068/0.01426, allocations: 1.403 MB / 288.1 MB, free: 2.402 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.01429, allocations: 8.031 kB / 288.1 MB, free: 2.395 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000247/0.01454, allocations: 211.8 kB / 288.3 MB, free: 2.188 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006/0.01514, allocations: 0.5742 MB / 288.9 MB, free: 1.586 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.655e-05/0.01518, allocations: 86.41 kB / 289 MB, free: 1.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.703e-05/0.01527, allocations: 127.9 kB / 289.1 MB, free: 1.375 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007965/0.01607, allocations: 1.084 MB / 290.2 MB, free: 108 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.01609, allocations: 7.938 kB / 290.2 MB, free: 100 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.456e-05/0.01614, allocations: 59.94 kB / 290.3 MB, free: 40 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.01615, allocations: 32 kB / 290.3 MB, free: 8 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1076/0.1238, allocations: 337.7 kB / 290.6 MB, free: 25.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003317/0.1271, allocations: 5.83 MB / 296.4 MB, free: 20.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003772/0.1275, allocations: 176.1 kB / 296.6 MB, free: 20.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.1276, allocations: 107 kB / 296.7 MB, free: 20.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.785e-05/0.1277, allocations: 14.53 kB / 296.7 MB, free: 20.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.1277, allocations: 36.62 kB / 296.8 MB, free: 20.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.844e-06/0.1277, allocations: 2.094 kB / 296.8 MB, free: 20.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001131/0.1288, allocations: 0.7046 MB / 297.5 MB, free: 20.15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.1289, allocations: 84.33 kB / 297.6 MB, free: 20.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004976/0.1294, allocations: 0.6216 MB / 298.2 MB, free: 19.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1294, allocations: 33.14 kB / 298.2 MB, free: 19.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/0.1296, allocations: 0.628 MB / 298.8 MB, free: 19.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.191e-05/0.1297, allocations: 116.8 kB / 299 MB, free: 19.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.1298, allocations: 147.3 kB / 299.1 MB, free: 19.42 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.759e-05/0.1299, allocations: 392.5 kB / 299.5 MB, free: 19.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.966e-05/0.13, allocations: 62.39 kB / 299.5 MB, free: 19.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.1302, allocations: 490.2 kB / 300 MB, free: 18.58 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.0005229/0.1307, allocations: 0.6685 MB / 300.7 MB, free: 18.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.1307, allocations: 5.609 kB / 300.7 MB, free: 18.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0006499/0.1314, allocations: 0.5448 MB / 301.2 MB, free: 17.85 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.1314, allocations: 15.25 kB / 301.3 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.1314, allocations: 18.97 kB / 301.3 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001711/0.1316, allocations: 72.94 kB / 301.3 MB, free: 17.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004427/0.132, allocations: 198.5 kB / 301.5 MB, free: 17.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.1331, allocations: 2.779 MB / 304.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002861/0.1334, allocations: 28.97 kB / 304.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/0.1334, allocations: 36.56 kB / 304.4 MB, free: 15.25 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.0001603/0.1336, allocations: 177.8 kB / 304.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.271e-05/0.1337, allocations: 50.05 kB / 304.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.797e-05/0.1337, allocations: 74.28 kB / 304.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1337, allocations: 3.531 kB / 304.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.1338, allocations: 5.984 kB / 304.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1338, allocations: 2.375 kB / 304.7 MB, free: 15.08 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.000865/0.1346, allocations: 0.7208 MB / 305.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1346, allocations: 1.531 kB / 305.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002488/0.1349, allocations: 81.97 kB / 305.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/0.135, allocations: 51.23 kB / 305.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.135, allocations: 7.797 kB / 305.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008498/0.1358, allocations: 2.553 MB / 308.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1359, allocations: 6.266 kB / 308.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/0.1362, allocations: 450.2 kB / 308.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.584e-05/0.1363, allocations: 63.44 kB / 308.6 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/0.1363, allocations: 7.391 kB / 308.6 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.1365, allocations: 14.58 kB / 308.6 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.1365, allocations: 24.86 kB / 308.7 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.1365, allocations: 13.25 kB / 308.7 MB, free: 12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002546/0.1368, allocations: 279.1 kB / 308.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1368, allocations: 0 / 308.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007204/0.1375, allocations: 156.6 kB / 309.1 MB, free: 11.98 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 9.795e-05/0.1376, allocations: 87.27 kB / 309.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005269/0.1381, allocations: 0.5565 MB / 309.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.649e-05/0.1382, allocations: 18.91 kB / 309.8 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.1384, allocations: 315.8 kB / 310.1 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.1388, allocations: 77.52 kB / 310.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.1409, allocations: 1.623 MB / 311.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.1411, allocations: 176.1 kB / 311.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002039/0.1413, allocations: 88.03 kB / 312 MB, free: 10.36 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.1415, allocations: 155.4 kB / 312.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1415, allocations: 4 kB / 312.2 MB, free: 10.31 MB / 266.7 MB Notification: Performance of Templates: time 0.009043/0.1505, allocations: 5.837 MB / 318 MB, free: 6.781 MB / 266.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 -s gbode -gbm=radauIIA3 -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.812144577037543]