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.0009974/0.0009974, allocations: 84.25 kB / 22.22 MB, free: 2.281 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.00101/0.00101, allocations: 168.8 kB / 25.61 MB, free: 8.875 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.968/0.968, allocations: 177 MB / 205.9 MB, free: 4.441 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.613e-06/1.613e-06, allocations: 3.938 kB / 274.1 MB, free: 4.344 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.884e-05/3.046e-05, allocations: 4 kB / 274.1 MB, free: 4.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.006973/0.007004, allocations: 5.603 MB / 279.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003103/0.01011, allocations: 1.704 MB / 281.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005543/0.01066, allocations: 43.69 kB / 281.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005122/0.01117, allocations: 251.5 kB / 281.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000558/0.01173, allocations: 242 kB / 282 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.01281, allocations: 0.5304 MB / 282.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.01424, allocations: 1.43 MB / 283.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004706/0.01471, allocations: 412.3 kB / 284.3 MB, free: 10.1 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006275/0.01534, allocations: 0.7406 MB / 285.1 MB, free: 9.359 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/0.01562, allocations: 350.7 kB / 285.4 MB, free: 9.016 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.989e-05/0.01572, allocations: 124 kB / 285.5 MB, free: 8.895 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.01587, allocations: 136 kB / 285.7 MB, free: 8.762 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.016, allocations: 274.9 kB / 285.9 MB, free: 8.492 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.01624, allocations: 398.9 kB / 286.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006556/0.01689, allocations: 0.9414 MB / 287.3 MB, free: 7.156 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.0169, allocations: 0 / 287.3 MB, free: 7.156 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.0169, allocations: 3.984 kB / 287.3 MB, free: 7.152 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.01691, allocations: 0 / 287.3 MB, free: 7.152 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.001212/0.01812, allocations: 1.536 MB / 288.8 MB, free: 5.574 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.01815, allocations: 8.031 kB / 288.8 MB, free: 5.566 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002726/0.01842, allocations: 255 kB / 289.1 MB, free: 5.316 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000681/0.0191, allocations: 0.7448 MB / 289.8 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.544e-05/0.01915, allocations: 86.41 kB / 289.9 MB, free: 4.457 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.41e-05/0.01924, allocations: 127.9 kB / 290 MB, free: 4.332 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008876/0.02013, allocations: 1.168 MB / 291.2 MB, free: 2.926 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.02016, allocations: 11.94 kB / 291.2 MB, free: 2.914 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.345e-05/0.02021, allocations: 48 kB / 291.2 MB, free: 2.867 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.02023, allocations: 32 kB / 291.3 MB, free: 2.836 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003998/0.02063, allocations: 381.5 kB / 291.6 MB, free: 2.461 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003601/0.02423, allocations: 8.273 MB / 299.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.02454, allocations: 198.4 kB / 300.1 MB, free: 9.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.02468, allocations: 123.6 kB / 300.2 MB, free: 9.461 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.941e-05/0.02473, allocations: 11.98 kB / 300.2 MB, free: 9.449 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.02475, allocations: 45.33 kB / 300.3 MB, free: 9.395 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.704e-06/0.02475, allocations: 3.938 kB / 300.3 MB, free: 9.391 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009399/0.02569, allocations: 0.7736 MB / 301.1 MB, free: 8.547 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.02572, allocations: 85.11 kB / 301.2 MB, free: 8.445 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003847/0.02611, allocations: 0.686 MB / 301.8 MB, free: 7.742 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.02612, allocations: 29.7 kB / 301.9 MB, free: 7.707 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.02641, allocations: 0.7549 MB / 302.6 MB, free: 6.941 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.247e-05/0.02648, allocations: 127 kB / 302.7 MB, free: 6.816 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.02659, allocations: 152.1 kB / 302.9 MB, free: 6.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.02673, allocations: 0.5623 MB / 303.5 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.588e-05/0.0268, allocations: 61.94 kB / 303.5 MB, free: 6.023 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/0.0271, allocations: 0.6523 MB / 304.2 MB, free: 5.098 MB / 282.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.0005422/0.02764, allocations: 0.8446 MB / 305 MB, free: 3.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.02765, allocations: 4 kB / 305 MB, free: 3.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0005951/0.02824, allocations: 0.6626 MB / 305.7 MB, free: 3.301 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.02826, allocations: 12 kB / 305.7 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.02827, allocations: 17.11 kB / 305.7 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001374/0.02841, allocations: 83.31 kB / 305.8 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.02869, allocations: 183.7 kB / 306 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/0.03032, allocations: 4.065 MB / 310 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.03052, allocations: 39.92 kB / 310.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.03054, allocations: 36 kB / 310.1 MB, free: 14.64 MB / 298.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.0001754/0.03072, allocations: 224.1 kB / 310.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.752e-05/0.0308, allocations: 87.48 kB / 310.4 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.098e-05/0.03086, allocations: 66.36 kB / 310.5 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.03086, allocations: 8.031 kB / 310.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.03087, allocations: 0 / 310.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.03087, allocations: 7.984 kB / 310.5 MB, free: 14.24 MB / 298.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.0008091/0.03168, allocations: 0.9283 MB / 311.4 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.03169, allocations: 4 kB / 311.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.03184, allocations: 63.89 kB / 311.5 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001032/0.03194, allocations: 55.44 kB / 311.5 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.03196, allocations: 11.98 kB / 311.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/0.03331, allocations: 3.747 MB / 315.3 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.03331, allocations: 4.062 kB / 315.3 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003834/0.03369, allocations: 0.6121 MB / 315.9 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.03374, allocations: 59.48 kB / 316 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.03377, allocations: 8 kB / 316 MB, free: 8.418 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.03389, allocations: 19.92 kB / 316 MB, free: 8.398 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.03394, allocations: 27.95 kB / 316 MB, free: 8.371 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.03395, allocations: 8.141 kB / 316 MB, free: 8.363 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002093/0.03416, allocations: 390.8 kB / 316.4 MB, free: 7.984 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03416, allocations: 0 / 316.4 MB, free: 7.984 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004965/0.03465, allocations: 156 kB / 316.6 MB, free: 7.832 MB / 298.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.0001046/0.03476, allocations: 115.1 kB / 316.7 MB, free: 7.707 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005484/0.03531, allocations: 0.6625 MB / 317.3 MB, free: 7.016 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.03531, allocations: 0 / 317.3 MB, free: 7.016 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.03555, allocations: 435.2 kB / 317.8 MB, free: 6.551 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.03589, allocations: 71.3 kB / 317.8 MB, free: 6.484 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.03776, allocations: 1.721 MB / 319.6 MB, free: 4.707 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.03788, allocations: 174 kB / 319.7 MB, free: 4.516 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001484/0.03803, allocations: 81.94 kB / 319.8 MB, free: 4.434 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.0382, allocations: 194.1 kB / 320 MB, free: 4.242 MB / 298.7 MB Notification: Performance of SimCode: time 8.11e-07/0.0382, allocations: 0 / 320 MB, free: 4.242 MB / 298.7 MB Notification: Performance of Templates: time 0.009667/0.04787, allocations: 5.841 MB / 325.8 MB, free: 14.55 MB / 314.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.8219022513367236]