Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.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.0009604/0.0009604, allocations: 80.8 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.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.001087/0.001087, allocations: 169.2 kB / 24.91 MB, free: 8.766 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.9763/0.9763, allocations: 177.1 MB / 205.3 MB, free: 5.461 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.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 273.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.326e-05, allocations: 2.312 kB / 273.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.003295/0.003308, allocations: 3.905 MB / 277.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.005212, allocations: 1.631 MB / 279 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.005375, allocations: 12 kB / 279 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000938/0.006313, allocations: 0.8124 MB / 279.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004791/0.006792, allocations: 361.8 kB / 280.2 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006658/0.007457, allocations: 0.6537 MB / 280.8 MB, free: 9.832 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004122/0.00787, allocations: 0.5368 MB / 281.4 MB, free: 9.293 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004359/0.008305, allocations: 482 kB / 281.9 MB, free: 8.816 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002836/0.008589, allocations: 359.1 kB / 282.2 MB, free: 8.465 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.008774, allocations: 223.4 kB / 282.4 MB, free: 8.246 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.139e-05/0.008825, allocations: 48 kB / 282.5 MB, free: 8.199 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002967/0.009122, allocations: 251.6 kB / 282.7 MB, free: 7.953 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.778e-05/0.00919, allocations: 123.5 kB / 282.8 MB, free: 7.832 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.009295, allocations: 183.5 kB / 283 MB, free: 7.652 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004808/0.009776, allocations: 0.5682 MB / 283.6 MB, free: 7.082 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.009781, allocations: 0 / 283.6 MB, free: 7.082 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.009781, allocations: 0 / 283.6 MB, free: 7.082 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.009787, allocations: 0 / 283.6 MB, free: 7.082 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001132/0.01092, allocations: 0.8897 MB / 284.5 MB, free: 6.168 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.01095, allocations: 12.03 kB / 284.5 MB, free: 6.156 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.01257, allocations: 0.5392 MB / 285 MB, free: 5.617 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004876/0.01306, allocations: 216.6 kB / 285.2 MB, free: 5.383 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.01309, allocations: 49.69 kB / 285.3 MB, free: 5.336 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.265e-05/0.01314, allocations: 60.38 kB / 285.3 MB, free: 5.277 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000388/0.01353, allocations: 417.1 kB / 285.7 MB, free: 4.852 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.01354, allocations: 3.953 kB / 285.8 MB, free: 4.848 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/0.01357, allocations: 24 kB / 285.8 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.01358, allocations: 16 kB / 285.8 MB, free: 4.809 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002572/0.01384, allocations: 222.3 kB / 286 MB, free: 4.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.01527, allocations: 1.473 MB / 287.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004587/0.01573, allocations: 382 kB / 287.9 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.775e-05/0.0158, allocations: 88.22 kB / 287.9 MB, free: 2.562 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.926e-05/0.01585, allocations: 27.95 kB / 288 MB, free: 2.535 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.01587, allocations: 38.56 kB / 288 MB, free: 2.488 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.483e-06/0.01588, allocations: 0 / 288 MB, free: 2.488 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0004646/0.01634, allocations: 318.1 kB / 288.3 MB, free: 2.168 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.132e-05/0.01636, allocations: 63.34 kB / 288.4 MB, free: 2.094 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.522e-05/0.01645, allocations: 180.9 kB / 288.6 MB, free: 1.906 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.01647, allocations: 37.7 kB / 288.6 MB, free: 1.863 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.551e-05/0.01655, allocations: 256.6 kB / 288.8 MB, free: 1.605 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.331e-05/0.01662, allocations: 154.7 kB / 289 MB, free: 1.453 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.561e-05/0.01669, allocations: 94.08 kB / 289.1 MB, free: 1.355 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.857e-05/0.01676, allocations: 338.8 kB / 289.4 MB, free: 1.016 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.068e-05/0.01682, allocations: 50.84 kB / 289.5 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.01692, allocations: 165.2 kB / 289.6 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.01711, allocations: 253.7 kB / 289.9 MB, free: 480 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.01712, allocations: 4 kB / 289.9 MB, free: 476 kB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002825/0.0174, allocations: 293.8 kB / 290.2 MB, free: 172 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.01741, allocations: 8 kB / 290.2 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.01742, allocations: 4 kB / 290.2 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001514/0.01757, allocations: 57.03 kB / 290.2 MB, free: 100 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.09556/0.1131, allocations: 105.2 kB / 290.3 MB, free: 20.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008217/0.114, allocations: 1.434 MB / 291.8 MB, free: 19.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.1142, allocations: 43.34 kB / 291.8 MB, free: 19.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.1142, allocations: 15.47 kB / 291.8 MB, free: 19.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001724/0.1144, allocations: 138.9 kB / 292 MB, free: 19.6 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001219/0.1145, allocations: 159.7 kB / 292.1 MB, free: 19.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000259/0.1148, allocations: 253.2 kB / 292.4 MB, free: 19.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.254e-06/0.1148, allocations: 1.312 kB / 292.4 MB, free: 19.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0003596/0.1151, allocations: 289.2 kB / 292.6 MB, free: 19.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.1152, allocations: 9.078 kB / 292.7 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1152, allocations: 4.062 kB / 292.7 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001489/0.1153, allocations: 55.75 kB / 292.7 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.1155, allocations: 101.8 kB / 292.8 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006066/0.1161, allocations: 1.448 MB / 294.3 MB, free: 18.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.1162, allocations: 36.45 kB / 294.3 MB, free: 18.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.1163, allocations: 16.64 kB / 294.3 MB, free: 18.06 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.1164, allocations: 209.5 kB / 294.5 MB, free: 17.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.548e-05/0.1164, allocations: 31.12 kB / 294.5 MB, free: 17.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003551/0.1168, allocations: 285.4 kB / 294.8 MB, free: 17.83 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1168, allocations: 4.562 kB / 294.8 MB, free: 17.83 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1168, allocations: 2.609 kB / 294.8 MB, free: 17.83 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1168, allocations: 9.562 kB / 294.8 MB, free: 17.83 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005738/0.1174, allocations: 0.5643 MB / 295.4 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1174, allocations: 3.781 kB / 295.4 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.1175, allocations: 78.62 kB / 295.5 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000126/0.1177, allocations: 57.53 kB / 295.5 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.1177, allocations: 12.33 kB / 295.6 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000527/0.1182, allocations: 1.43 MB / 297 MB, free: 16.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1182, allocations: 1.594 kB / 297 MB, free: 16.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003912/0.1186, allocations: 421.8 kB / 297.4 MB, free: 16.19 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.1187, allocations: 38.14 kB / 297.4 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.1187, allocations: 7.281 kB / 297.4 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.673e-05/0.1188, allocations: 17.36 kB / 297.5 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/0.1188, allocations: 33.69 kB / 297.5 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.1188, allocations: 11.7 kB / 297.5 MB, free: 16.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.579e-05/0.1189, allocations: 57.66 kB / 297.6 MB, free: 16.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1189, allocations: 0 / 297.6 MB, free: 16.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005435/0.1194, allocations: 254.6 kB / 297.8 MB, free: 16.13 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001749/0.1196, allocations: 128.9 kB / 297.9 MB, free: 16.06 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005914/0.1202, allocations: 0.6173 MB / 298.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.1202, allocations: 5.219 kB / 298.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.1204, allocations: 255.8 kB / 298.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.1206, allocations: 41.92 kB / 298.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.1216, allocations: 0.763 MB / 299.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.623e-05/0.1217, allocations: 115.3 kB / 299.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001686/0.1218, allocations: 66.23 kB / 299.8 MB, free: 15.19 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.122, allocations: 108.6 kB / 299.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.122, allocations: 0 / 299.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of Templates: time 0.007588/0.1296, allocations: 5.009 MB / 304.9 MB, free: 14.58 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.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.623035515192896]