Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.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.001318/0.001318, allocations: 83.89 kB / 21.19 MB, free: 3.387 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.001061/0.001061, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 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.9982/0.9982, allocations: 173.3 MB / 201.1 MB, free: 9.324 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.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.0.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.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.282e-05/3.525e-05, allocations: 6.25 kB / 268 MB, free: 6.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.006534/0.006569, allocations: 3.913 MB / 271.9 MB, free: 2.484 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003102/0.009672, allocations: 1.534 MB / 273.4 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003807/0.01005, allocations: 12 kB / 273.4 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.01158, allocations: 0.8126 MB / 274.3 MB, free: 116 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009016/0.01248, allocations: 0.5128 MB / 274.8 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007566/0.01324, allocations: 0.5254 MB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006665/0.0139, allocations: 0.5407 MB / 275.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006277/0.01453, allocations: 444.2 kB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003993/0.01493, allocations: 355.1 kB / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.01516, allocations: 227.4 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.587e-05/0.01522, allocations: 52 kB / 276.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004394/0.01566, allocations: 235.6 kB / 277.1 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.388e-05/0.01573, allocations: 119.5 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.01588, allocations: 183.5 kB / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009943/0.01688, allocations: 0.5761 MB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.01688, allocations: 0 / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01688, allocations: 3.938 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.01689, allocations: 0 / 278 MB, free: 12.36 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.00158/0.01847, allocations: 0.995 MB / 279 MB, free: 11.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.01852, allocations: 8.922 kB / 279 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/0.0201, allocations: 0.5117 MB / 279.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004905/0.02059, allocations: 312.6 kB / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/0.02063, allocations: 45.69 kB / 279.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.32e-05/0.02071, allocations: 60.38 kB / 279.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006893/0.0214, allocations: 0.5554 MB / 280.5 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.02142, allocations: 3.953 kB / 280.5 MB, free: 9.785 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.02146, allocations: 24 kB / 280.5 MB, free: 9.762 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.02147, allocations: 16 kB / 280.5 MB, free: 9.746 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004946/0.02197, allocations: 327.6 kB / 280.8 MB, free: 9.426 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.02401, allocations: 1.774 MB / 282.6 MB, free: 7.551 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007057/0.02472, allocations: 442.5 kB / 283 MB, free: 7.102 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.02487, allocations: 107.6 kB / 283.2 MB, free: 6.992 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.557e-05/0.02493, allocations: 15.98 kB / 283.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.02496, allocations: 41.39 kB / 283.2 MB, free: 6.926 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 3.697e-06/0.02496, allocations: 0 / 283.2 MB, free: 6.926 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.000799/0.02576, allocations: 448.7 kB / 283.6 MB, free: 6.477 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.02579, allocations: 63.41 kB / 283.7 MB, free: 6.402 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.02595, allocations: 245.6 kB / 283.9 MB, free: 6.145 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.02597, allocations: 33.7 kB / 284 MB, free: 6.105 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.0261, allocations: 307.8 kB / 284.3 MB, free: 5.797 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.586e-05/0.02619, allocations: 162.6 kB / 284.4 MB, free: 5.637 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.02629, allocations: 91.8 kB / 284.5 MB, free: 5.535 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002975/0.02659, allocations: 0.5079 MB / 285 MB, free: 5.016 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.02672, allocations: 85.62 kB / 285.1 MB, free: 4.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.0269, allocations: 228.9 kB / 285.3 MB, free: 4.641 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.02721, allocations: 333.4 kB / 285.7 MB, free: 4.258 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.02722, allocations: 8 kB / 285.7 MB, free: 4.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005294/0.02775, allocations: 409 kB / 286.1 MB, free: 3.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.02777, allocations: 4.406 kB / 286.1 MB, free: 3.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.02777, allocations: 8 kB / 286.1 MB, free: 3.828 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002485/0.02802, allocations: 63.64 kB / 286.2 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.02824, allocations: 99.83 kB / 286.3 MB, free: 3.664 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.0295, allocations: 2.137 MB / 288.4 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.02967, allocations: 47.72 kB / 288.4 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.02969, allocations: 20 kB / 288.5 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001973/0.02989, allocations: 207.8 kB / 288.7 MB, free: 1.133 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001872/0.03008, allocations: 224.5 kB / 288.9 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003117/0.03039, allocations: 335.3 kB / 289.2 MB, free: 484 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.413e-06/0.03039, allocations: 0 / 289.2 MB, free: 484 kB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0004686/0.03086, allocations: 411.9 kB / 289.6 MB, free: 60 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.03087, allocations: 4 kB / 289.6 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.03087, allocations: 4 kB / 289.6 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1274/0.1583, allocations: 62.58 kB / 289.7 MB, free: 24.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.1586, allocations: 97.3 kB / 289.8 MB, free: 24.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.1597, allocations: 2.134 MB / 291.9 MB, free: 22.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.1599, allocations: 42.81 kB / 291.9 MB, free: 22.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.1599, allocations: 19.36 kB / 292 MB, free: 22.54 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.0001368/0.16, allocations: 297.4 kB / 292.3 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-05/0.1601, allocations: 45 kB / 292.3 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006294/0.1607, allocations: 384.3 kB / 292.7 MB, free: 22.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.1607, allocations: 11.59 kB / 292.7 MB, free: 22.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1607, allocations: 5.312 kB / 292.7 MB, free: 22.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.1607, allocations: 2.438 kB / 292.7 MB, free: 22.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.1617, allocations: 0.8479 MB / 293.5 MB, free: 21.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1617, allocations: 2.031 kB / 293.5 MB, free: 21.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.162, allocations: 74.38 kB / 293.6 MB, free: 21.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001875/0.1621, allocations: 67.22 kB / 293.7 MB, free: 21.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.1622, allocations: 7.922 kB / 293.7 MB, free: 21.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007932/0.163, allocations: 2.137 MB / 295.8 MB, free: 19.94 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.163, allocations: 0 / 295.8 MB, free: 19.94 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006403/0.1636, allocations: 0.572 MB / 296.4 MB, free: 19.71 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.784e-05/0.1637, allocations: 69.22 kB / 296.5 MB, free: 19.69 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.1637, allocations: 6.094 kB / 296.5 MB, free: 19.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.1638, allocations: 18.28 kB / 296.5 MB, free: 19.69 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.187e-05/0.1639, allocations: 32.48 kB / 296.5 MB, free: 19.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.1639, allocations: 15.11 kB / 296.5 MB, free: 19.69 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.043e-05/0.164, allocations: 173.5 kB / 296.7 MB, free: 19.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.164, allocations: 2.531 kB / 296.7 MB, free: 19.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007057/0.1647, allocations: 256.9 kB / 297 MB, free: 19.54 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.0002446/0.165, allocations: 135 kB / 297.1 MB, free: 19.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009612/0.1659, allocations: 0.805 MB / 297.9 MB, free: 19.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1659, allocations: 4.625 kB / 297.9 MB, free: 19.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002711/0.1662, allocations: 338.8 kB / 298.2 MB, free: 18.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.1665, allocations: 41.77 kB / 298.3 MB, free: 18.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.168, allocations: 0.7958 MB / 299.1 MB, free: 18.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.601e-05/0.1681, allocations: 113.9 kB / 299.2 MB, free: 18.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002013/0.1683, allocations: 69.11 kB / 299.2 MB, free: 18.4 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.746e-05/0.1684, allocations: 37.58 kB / 299.3 MB, free: 18.39 MB / 266.7 MB Notification: Performance of SimCode: time 1.232e-06/0.1684, allocations: 0.7656 kB / 299.3 MB, free: 18.39 MB / 266.7 MB Notification: Performance of Templates: time 0.008686/0.1771, allocations: 4.472 MB / 303.8 MB, free: 17.95 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.0180912991054356]