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.001598/0.001598, allocations: 81.64 kB / 20.68 MB, free: 1.039 MB / 14.72 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.001685/0.001685, allocations: 165.3 kB / 23.96 MB, free: 4.164 MB / 14.72 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 1.45/1.45, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] 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.363e-06/1.363e-06, allocations: 0 / 325.1 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/1.977e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.004943/0.004963, allocations: 3.666 MB / 328.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00301/0.007973, allocations: 1.535 MB / 330.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.008183, allocations: 15.78 kB / 330.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001894/0.01008, allocations: 0.7517 MB / 331 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009292/0.01101, allocations: 381 kB / 331.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.01234, allocations: 0.6348 MB / 332 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006918/0.01303, allocations: 0.5545 MB / 332.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000719/0.01375, allocations: 451.2 kB / 333 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004874/0.01424, allocations: 351.3 kB / 333.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/0.01454, allocations: 221.3 kB / 333.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.501e-05/0.01462, allocations: 52.25 kB / 333.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004643/0.01508, allocations: 250.2 kB / 333.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.01519, allocations: 122.9 kB / 334 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.0154, allocations: 175.9 kB / 334.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.01642, allocations: 0.8291 MB / 335 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.01642, allocations: 1.5 kB / 335 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01642, allocations: 0 / 335 MB, free: 10.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.01644, allocations: 0 / 335 MB, free: 10.05 MB / 302.1 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.002234/0.01867, allocations: 0.8934 MB / 335.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.01871, allocations: 10.44 kB / 335.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002977/0.02168, allocations: 395.9 kB / 336.3 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000606/0.02229, allocations: 305.9 kB / 336.6 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.718e-05/0.02234, allocations: 46.03 kB / 336.6 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.02244, allocations: 59.31 kB / 336.7 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.02368, allocations: 0.685 MB / 337.4 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.0237, allocations: 1.219 kB / 337.4 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.373e-05/0.02376, allocations: 20.59 kB / 337.4 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.02378, allocations: 19.28 kB / 337.4 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.02501, allocations: 0.5721 MB / 338 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003155/0.02817, allocations: 1.751 MB / 339.7 MB, free: 6.305 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.02948, allocations: 476.8 kB / 340.2 MB, free: 5.828 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000379/0.02986, allocations: 172.8 kB / 340.4 MB, free: 5.656 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-05/0.02994, allocations: 19.98 kB / 340.4 MB, free: 5.637 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.02998, allocations: 38.5 kB / 340.4 MB, free: 5.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 2.014e-06/0.02998, allocations: 0 / 340.4 MB, free: 5.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.00173/0.03171, allocations: 0.6034 MB / 341 MB, free: 4.977 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.03175, allocations: 59.34 kB / 341.1 MB, free: 4.906 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.03196, allocations: 204.4 kB / 341.3 MB, free: 4.699 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.873e-05/0.03202, allocations: 33.7 kB / 341.3 MB, free: 4.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.0322, allocations: 264.6 kB / 341.6 MB, free: 4.398 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.03232, allocations: 151 kB / 341.7 MB, free: 4.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.03247, allocations: 94.06 kB / 341.8 MB, free: 4.152 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.03261, allocations: 338.8 kB / 342.2 MB, free: 3.812 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/0.03297, allocations: 146.8 kB / 342.3 MB, free: 3.668 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004412/0.03342, allocations: 253.3 kB / 342.6 MB, free: 3.371 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008346/0.03425, allocations: 445.3 kB / 343 MB, free: 2.895 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.03425, allocations: 4 kB / 343 MB, free: 2.891 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001136/0.03539, allocations: 0.518 MB / 343.5 MB, free: 2.363 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.03541, allocations: 4 kB / 343.5 MB, free: 2.359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.03542, allocations: 4 kB / 343.5 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002592/0.03568, allocations: 56.83 kB / 343.6 MB, free: 2.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004611/0.03614, allocations: 95.88 kB / 343.7 MB, free: 2.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.0378, allocations: 1.633 MB / 345.3 MB, free: 480 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.03813, allocations: 51.66 kB / 345.3 MB, free: 428 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.03817, allocations: 16 kB / 345.4 MB, free: 412 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004776/0.03865, allocations: 273.1 kB / 345.6 MB, free: 136 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004298/0.03908, allocations: 253.1 kB / 345.9 MB, free: 15.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007899/0.03987, allocations: 423.7 kB / 346.3 MB, free: 15.38 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/0.03987, allocations: 0 / 346.3 MB, free: 15.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001084/0.04095, allocations: 0.5053 MB / 346.8 MB, free: 14.87 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.04097, allocations: 11.98 kB / 346.8 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.04098, allocations: 4 kB / 346.8 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002109/0.04119, allocations: 52.83 kB / 346.9 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004178/0.04161, allocations: 96.14 kB / 347 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/0.04342, allocations: 1.637 MB / 348.6 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000349/0.04377, allocations: 43.72 kB / 348.6 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.04381, allocations: 20 kB / 348.7 MB, free: 12.91 MB / 318.1 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.0002319/0.04404, allocations: 212.1 kB / 348.9 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.47e-05/0.04411, allocations: 27.86 kB / 348.9 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.04532, allocations: 0.4976 MB / 349.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.04533, allocations: 11.98 kB / 349.4 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.04533, allocations: 0 / 349.4 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.04534, allocations: 3.984 kB / 349.4 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.04705, allocations: 0.9178 MB / 350.3 MB, free: 11.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.04706, allocations: 0 / 350.3 MB, free: 11.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003974/0.04745, allocations: 83.88 kB / 350.4 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002076/0.04766, allocations: 52.77 kB / 350.5 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.04769, allocations: 8 kB / 350.5 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/0.04932, allocations: 1.631 MB / 352.1 MB, free: 9.312 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.04933, allocations: 3.938 kB / 352.1 MB, free: 9.309 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.05084, allocations: 0.7407 MB / 352.8 MB, free: 8.547 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.05099, allocations: 59.73 kB / 352.9 MB, free: 8.488 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/0.05104, allocations: 12.12 kB / 352.9 MB, free: 8.477 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002806/0.05132, allocations: 23.92 kB / 352.9 MB, free: 8.453 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.345e-05/0.05141, allocations: 32.44 kB / 353 MB, free: 8.422 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/0.05144, allocations: 15.98 kB / 353 MB, free: 8.406 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000166/0.05161, allocations: 135.1 kB / 353.1 MB, free: 8.273 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.05161, allocations: 0 / 353.1 MB, free: 8.273 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001016/0.05263, allocations: 263.1 kB / 353.4 MB, free: 8.016 MB / 318.1 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.0002964/0.05292, allocations: 139.5 kB / 353.5 MB, free: 7.871 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.05477, allocations: 0.8454 MB / 354.3 MB, free: 6.996 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.05477, allocations: 4.125 kB / 354.4 MB, free: 6.992 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006078/0.05538, allocations: 313.5 kB / 354.7 MB, free: 6.676 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.05582, allocations: 39.86 kB / 354.7 MB, free: 6.637 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.05742, allocations: 0.8193 MB / 355.5 MB, free: 5.785 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.05765, allocations: 217.8 kB / 355.7 MB, free: 5.551 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002832/0.05794, allocations: 70.92 kB / 355.8 MB, free: 5.484 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.05805, allocations: 36.48 kB / 355.8 MB, free: 5.449 MB / 318.1 MB Notification: Performance of SimCode: time 7.01e-07/0.05806, allocations: 0 / 355.8 MB, free: 5.449 MB / 318.1 MB Notification: Performance of Templates: time 0.01087/0.06893, allocations: 4.478 MB / 360.3 MB, free: 1.031 MB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.369125049561262]