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.000943/0.000943, allocations: 85.05 kB / 21.5 MB, free: 2.992 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.0008276/0.0008276, allocations: 145.4 kB / 24.89 MB, free: 9.234 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 0.958/0.958, allocations: 173.4 MB / 201.5 MB, free: 9.211 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 1.603e-06/1.603e-06, allocations: 0 / 268.5 MB, free: 6.141 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.371e-05, allocations: 6.312 kB / 268.5 MB, free: 6.133 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.00523/0.005253, allocations: 5.618 MB / 274.2 MB, free: 496 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00322/0.008474, allocations: 1.709 MB / 275.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007167/0.009191, allocations: 39.75 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004527/0.009643, allocations: 249.5 kB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004769/0.01012, allocations: 241.4 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000898/0.01102, allocations: 0.507 MB / 276.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001071/0.01209, allocations: 1.414 MB / 278.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005071/0.0126, allocations: 432.2 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006369/0.01323, allocations: 0.7367 MB / 279.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.01354, allocations: 346.8 kB / 279.8 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.01364, allocations: 124 kB / 279.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.01382, allocations: 136 kB / 280.1 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004049/0.01423, allocations: 267 kB / 280.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002285/0.01445, allocations: 402.9 kB / 280.7 MB, free: 9.875 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007489/0.0152, allocations: 0.9336 MB / 281.6 MB, free: 8.938 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.01521, allocations: 0 / 281.6 MB, free: 8.938 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01521, allocations: 0 / 281.6 MB, free: 8.938 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.01522, allocations: 0 / 281.6 MB, free: 8.938 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.001138/0.01635, allocations: 1.407 MB / 283.1 MB, free: 7.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.0164, allocations: 12.86 kB / 283.1 MB, free: 7.488 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.01656, allocations: 183.9 kB / 283.2 MB, free: 7.309 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006516/0.01722, allocations: 0.5704 MB / 283.8 MB, free: 6.711 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.279e-05/0.01727, allocations: 90.41 kB / 283.9 MB, free: 6.621 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-05/0.01736, allocations: 123.9 kB / 284 MB, free: 6.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009319/0.0183, allocations: 1.072 MB / 285.1 MB, free: 5.246 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.01832, allocations: 3.938 kB / 285.1 MB, free: 5.242 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.103e-05/0.01837, allocations: 56 kB / 285.2 MB, free: 5.188 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.01839, allocations: 36 kB / 285.2 MB, free: 5.152 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003866/0.01878, allocations: 349.6 kB / 285.5 MB, free: 4.809 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1089/0.1276, allocations: 5.834 MB / 291.4 MB, free: 26.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004162/0.1281, allocations: 172.8 kB / 291.5 MB, free: 26.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.1282, allocations: 109.7 kB / 291.6 MB, free: 26.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.009e-05/0.1283, allocations: 12.39 kB / 291.7 MB, free: 26.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.1283, allocations: 35.53 kB / 291.7 MB, free: 26.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 3.958e-06/0.1283, allocations: 4.984 kB / 291.7 MB, free: 26.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001255/0.1296, allocations: 0.7088 MB / 292.4 MB, free: 25.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.96e-05/0.1296, allocations: 85.12 kB / 292.5 MB, free: 25.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000492/0.1301, allocations: 0.6186 MB / 293.1 MB, free: 25.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.1301, allocations: 31.52 kB / 293.1 MB, free: 25.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.1303, allocations: 0.6245 MB / 293.8 MB, free: 25.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.356e-05/0.1304, allocations: 122.1 kB / 293.9 MB, free: 25.1 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.1305, allocations: 149.2 kB / 294 MB, free: 25.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.103e-05/0.1306, allocations: 396.5 kB / 294.4 MB, free: 24.76 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.761e-05/0.1307, allocations: 59.41 kB / 294.5 MB, free: 24.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.131, allocations: 483.5 kB / 294.9 MB, free: 24.23 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.0006001/0.1316, allocations: 0.6791 MB / 295.6 MB, free: 23.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.1316, allocations: 7.156 kB / 295.6 MB, free: 23.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007312/0.1323, allocations: 0.5429 MB / 296.2 MB, free: 23.63 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.1323, allocations: 10.59 kB / 296.2 MB, free: 23.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.1324, allocations: 18.38 kB / 296.2 MB, free: 23.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000189/0.1325, allocations: 68 kB / 296.3 MB, free: 23.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004723/0.133, allocations: 201.7 kB / 296.5 MB, free: 23.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/0.1342, allocations: 2.783 MB / 299.2 MB, free: 21.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/0.1345, allocations: 29.14 kB / 299.3 MB, free: 21.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.956e-05/0.1346, allocations: 39.61 kB / 299.3 MB, free: 21.03 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.0001807/0.1347, allocations: 179.8 kB / 299.5 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.295e-05/0.1348, allocations: 54.94 kB / 299.5 MB, free: 20.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.632e-05/0.1349, allocations: 73.88 kB / 299.6 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.1349, allocations: 7.703 kB / 299.6 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.1349, allocations: 2.344 kB / 299.6 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.1349, allocations: 3.016 kB / 299.6 MB, free: 20.87 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.00092/0.1358, allocations: 0.7086 MB / 300.3 MB, free: 20.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1358, allocations: 6.375 kB / 300.3 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.1361, allocations: 80.25 kB / 300.4 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001154/0.1362, allocations: 57.19 kB / 300.5 MB, free: 20.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.1362, allocations: 8.984 kB / 300.5 MB, free: 20.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008887/0.1371, allocations: 2.55 MB / 303 MB, free: 18.1 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1371, allocations: 1.281 kB / 303 MB, free: 18.1 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003679/0.1375, allocations: 434 kB / 303.5 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.207e-05/0.1376, allocations: 63.16 kB / 303.5 MB, free: 17.8 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.1376, allocations: 14.92 kB / 303.5 MB, free: 17.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.1378, allocations: 14.12 kB / 303.5 MB, free: 17.79 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/0.1378, allocations: 36.8 kB / 303.6 MB, free: 17.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.1378, allocations: 9.062 kB / 303.6 MB, free: 17.79 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002559/0.1381, allocations: 275.7 kB / 303.9 MB, free: 17.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1381, allocations: 1.281 kB / 303.9 MB, free: 17.76 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007601/0.1389, allocations: 156.2 kB / 304 MB, free: 17.76 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.865e-05/0.139, allocations: 95.02 kB / 304.1 MB, free: 17.69 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005457/0.1395, allocations: 0.537 MB / 304.6 MB, free: 17.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.74e-05/0.1395, allocations: 19.97 kB / 304.7 MB, free: 17.4 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.1397, allocations: 323.1 kB / 305 MB, free: 17.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.1401, allocations: 83.03 kB / 305.1 MB, free: 17.15 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.1425, allocations: 1.609 MB / 306.7 MB, free: 16.26 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.1426, allocations: 175.5 kB / 306.8 MB, free: 16.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002238/0.1428, allocations: 82.5 kB / 306.9 MB, free: 16.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.143, allocations: 157.3 kB / 307.1 MB, free: 16.12 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.143, allocations: 0 / 307.1 MB, free: 16.12 MB / 266.7 MB Notification: Performance of Templates: time 0.01106/0.1541, allocations: 5.82 MB / 312.9 MB, free: 14.17 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 -s gbode -gbm=radauIIA3 -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.788952261675149]