Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 169.1 kB / 24.91 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9379/0.9379, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 273.5 MB, free: 1.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.201e-05/1.332e-05, allocations: 2.312 kB / 273.5 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.0044/0.004413, allocations: 5.614 MB / 279.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.006458, allocations: 1.775 MB / 280.9 MB, free: 9.863 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003285/0.006786, allocations: 43.69 kB / 280.9 MB, free: 9.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003581/0.007144, allocations: 257.4 kB / 281.2 MB, free: 9.566 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.007458, allocations: 237.4 kB / 281.4 MB, free: 9.332 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006546/0.008112, allocations: 0.5265 MB / 281.9 MB, free: 8.805 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008908/0.009003, allocations: 1.418 MB / 283.3 MB, free: 7.379 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004527/0.009456, allocations: 428.2 kB / 283.7 MB, free: 6.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005981/0.01005, allocations: 0.7407 MB / 284.5 MB, free: 6.188 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002934/0.01035, allocations: 338.8 kB / 284.8 MB, free: 5.855 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.878e-05/0.01045, allocations: 124 kB / 284.9 MB, free: 5.734 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.01059, allocations: 147.9 kB / 285.1 MB, free: 5.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.01073, allocations: 271 kB / 285.3 MB, free: 5.324 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.01097, allocations: 402.9 kB / 285.7 MB, free: 4.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006835/0.01165, allocations: 0.9453 MB / 286.7 MB, free: 3.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.01165, allocations: 0 / 286.7 MB, free: 3.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01165, allocations: 0 / 286.7 MB, free: 3.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.01166, allocations: 0 / 286.7 MB, free: 3.98 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.001094/0.01276, allocations: 1.407 MB / 288.1 MB, free: 2.543 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.01279, allocations: 8.031 kB / 288.1 MB, free: 2.535 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002433/0.01303, allocations: 203.8 kB / 288.3 MB, free: 2.336 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006157/0.01364, allocations: 0.5742 MB / 288.9 MB, free: 1.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.847e-05/0.01369, allocations: 90.41 kB / 289 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.049e-05/0.01378, allocations: 127.9 kB / 289.1 MB, free: 1.516 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007928/0.01458, allocations: 1.069 MB / 290.2 MB, free: 264 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.0146, allocations: 7.938 kB / 290.2 MB, free: 256 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.931e-05/0.01465, allocations: 60 kB / 290.2 MB, free: 196 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.01467, allocations: 32 kB / 290.3 MB, free: 164 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09816/0.1128, allocations: 349.1 kB / 290.6 MB, free: 25.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003775/0.1166, allocations: 5.834 MB / 296.4 MB, free: 21.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003835/0.117, allocations: 173.4 kB / 296.6 MB, free: 21.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.1172, allocations: 108.2 kB / 296.7 MB, free: 21.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.347e-05/0.1172, allocations: 10.06 kB / 296.7 MB, free: 21.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.1173, allocations: 38.55 kB / 296.7 MB, free: 21.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 2.174e-06/0.1173, allocations: 1.719 kB / 296.8 MB, free: 21.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001216/0.1185, allocations: 0.7093 MB / 297.5 MB, free: 20.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.057e-05/0.1185, allocations: 82.14 kB / 297.5 MB, free: 20.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005111/0.119, allocations: 0.6234 MB / 298.2 MB, free: 20.53 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.119, allocations: 31.77 kB / 298.2 MB, free: 20.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.1193, allocations: 0.624 MB / 298.8 MB, free: 20.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.567e-05/0.1193, allocations: 122.3 kB / 298.9 MB, free: 20.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.1195, allocations: 150.5 kB / 299.1 MB, free: 20.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.194e-05/0.1195, allocations: 389.4 kB / 299.5 MB, free: 19.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.146e-05/0.1196, allocations: 59.53 kB / 299.5 MB, free: 19.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.1199, allocations: 490.4 kB / 300 MB, free: 19.2 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.0005645/0.1204, allocations: 0.6682 MB / 300.7 MB, free: 18.63 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.1204, allocations: 7.719 kB / 300.7 MB, free: 18.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007154/0.1212, allocations: 0.5453 MB / 301.2 MB, free: 18.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.1212, allocations: 11.25 kB / 301.2 MB, free: 18.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/0.1212, allocations: 16.02 kB / 301.3 MB, free: 18.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001828/0.1214, allocations: 69.47 kB / 301.3 MB, free: 18.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.1218, allocations: 185 kB / 301.5 MB, free: 18.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.1229, allocations: 2.783 MB / 304.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/0.1232, allocations: 33.53 kB / 304.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/0.1233, allocations: 38.47 kB / 304.4 MB, free: 15.87 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.0001737/0.1234, allocations: 175.7 kB / 304.5 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-05/0.1235, allocations: 50.12 kB / 304.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.425e-05/0.1236, allocations: 72.02 kB / 304.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1236, allocations: 4.125 kB / 304.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.1236, allocations: 1 kB / 304.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1236, allocations: 2.609 kB / 304.7 MB, free: 15.71 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.00094/0.1246, allocations: 0.7302 MB / 305.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.1246, allocations: 2.031 kB / 305.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.1248, allocations: 61.64 kB / 305.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001148/0.1249, allocations: 52.83 kB / 305.5 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.1249, allocations: 11.5 kB / 305.5 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008401/0.1257, allocations: 2.535 MB / 308 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1257, allocations: 2.625 kB / 308 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/0.1261, allocations: 449.4 kB / 308.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/0.1262, allocations: 66.77 kB / 308.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.1262, allocations: 8.938 kB / 308.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.1264, allocations: 17.67 kB / 308.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/0.1265, allocations: 28.72 kB / 308.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.1265, allocations: 13.14 kB / 308.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002648/0.1267, allocations: 273.6 kB / 308.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1267, allocations: 0 / 308.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007893/0.1275, allocations: 157.9 kB / 309 MB, free: 12.6 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.0001019/0.1276, allocations: 98.17 kB / 309.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005251/0.1281, allocations: 0.5397 MB / 309.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-05/0.1282, allocations: 14.56 kB / 309.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.1284, allocations: 327.7 kB / 310 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.1288, allocations: 73.83 kB / 310.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.131, allocations: 1.627 MB / 311.7 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.1311, allocations: 175.1 kB / 311.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002075/0.1313, allocations: 87.33 kB / 312 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.1315, allocations: 159.6 kB / 312.1 MB, free: 10.85 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1315, allocations: 0 / 312.1 MB, free: 10.85 MB / 266.7 MB Notification: Performance of Templates: time 0.009564/0.1411, allocations: 5.658 MB / 317.8 MB, free: 7.512 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.764102344866842]