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.001074/0.001074, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001822/0.001822, allocations: 173.9 kB / 25.61 MB, free: 8.582 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.9736/0.9736, allocations: 177.1 MB / 206 MB, free: 4.52 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 2.074e-06/2.074e-06, allocations: 0 / 274.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.817e-05/4.025e-05, allocations: 2.312 kB / 274.2 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005117/0.005157, allocations: 3.846 MB / 278 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003059/0.008217, allocations: 1.573 MB / 279.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003024/0.008519, allocations: 15.94 kB / 279.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.009938, allocations: 0.7903 MB / 280.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008914/0.01083, allocations: 381.8 kB / 280.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.01185, allocations: 0.6304 MB / 281.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006628/0.01251, allocations: 0.5523 MB / 282 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006472/0.01316, allocations: 456.1 kB / 282.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004537/0.01361, allocations: 351.2 kB / 282.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.01386, allocations: 219.4 kB / 283 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.559e-05/0.01391, allocations: 52 kB / 283 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005551/0.01447, allocations: 243.6 kB / 283.2 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.495e-05/0.01455, allocations: 123.6 kB / 283.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.01469, allocations: 167.5 kB / 283.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007716/0.01546, allocations: 0.576 MB / 284.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.01547, allocations: 4 kB / 284.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01547, allocations: 4 kB / 284.1 MB, free: 10.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.01548, allocations: 0 / 284.1 MB, free: 10.44 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.001559/0.01704, allocations: 0.991 MB / 285.1 MB, free: 9.414 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.01709, allocations: 8.031 kB / 285.1 MB, free: 9.406 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/0.01869, allocations: 0.4961 MB / 285.6 MB, free: 8.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/0.01911, allocations: 294.4 kB / 285.9 MB, free: 8.598 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.174e-05/0.01916, allocations: 45.67 kB / 285.9 MB, free: 8.551 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-05/0.01925, allocations: 64.33 kB / 286 MB, free: 8.488 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000623/0.01987, allocations: 409.1 kB / 286.4 MB, free: 8.074 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.0199, allocations: 3.938 kB / 286.4 MB, free: 8.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.01994, allocations: 20 kB / 286.4 MB, free: 8.051 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.01995, allocations: 16 kB / 286.4 MB, free: 8.035 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004132/0.02036, allocations: 274.2 kB / 286.7 MB, free: 7.766 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/0.02254, allocations: 1.778 MB / 288.5 MB, free: 5.891 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006532/0.02319, allocations: 417.5 kB / 288.9 MB, free: 5.465 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.0233, allocations: 94.98 kB / 289 MB, free: 5.371 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.779e-05/0.02338, allocations: 27.98 kB / 289 MB, free: 5.344 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.02341, allocations: 41.39 kB / 289.1 MB, free: 5.293 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 4.378e-06/0.02342, allocations: 0 / 289.1 MB, free: 5.293 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0009309/0.02435, allocations: 400.8 kB / 289.5 MB, free: 4.891 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.02438, allocations: 59.34 kB / 289.5 MB, free: 4.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.02454, allocations: 252 kB / 289.8 MB, free: 4.559 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.02457, allocations: 37.7 kB / 289.8 MB, free: 4.516 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.02471, allocations: 311.4 kB / 290.1 MB, free: 4.203 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.234e-05/0.02479, allocations: 158.6 kB / 290.3 MB, free: 4.047 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.8e-05/0.02489, allocations: 99.78 kB / 290.3 MB, free: 3.941 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.02505, allocations: 0.5079 MB / 290.9 MB, free: 3.422 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.153e-05/0.02514, allocations: 65.64 kB / 290.9 MB, free: 3.352 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.0253, allocations: 212.9 kB / 291.1 MB, free: 3.082 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.02556, allocations: 305.3 kB / 291.4 MB, free: 2.727 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.02557, allocations: 4 kB / 291.4 MB, free: 2.723 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004348/0.026, allocations: 373 kB / 291.8 MB, free: 2.348 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.02603, allocations: 8 kB / 291.8 MB, free: 2.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.02604, allocations: 4 kB / 291.8 MB, free: 2.336 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000222/0.02626, allocations: 68.03 kB / 291.9 MB, free: 2.266 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.02647, allocations: 95.83 kB / 292 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/0.02811, allocations: 2.104 MB / 294.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.02826, allocations: 47.72 kB / 294.1 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.02828, allocations: 16 kB / 294.1 MB, free: 15.89 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001576/0.02844, allocations: 191.8 kB / 294.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001562/0.0286, allocations: 216.4 kB / 294.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002574/0.02885, allocations: 299.3 kB / 294.8 MB, free: 15.08 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.502e-06/0.02885, allocations: 0 / 294.8 MB, free: 15.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0004152/0.02927, allocations: 356.2 kB / 295.2 MB, free: 14.72 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.02928, allocations: 8 kB / 295.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.02929, allocations: 4 kB / 295.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000168/0.02946, allocations: 75.97 kB / 295.3 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.02964, allocations: 87.89 kB / 295.3 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.03073, allocations: 2.106 MB / 297.4 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.03086, allocations: 35.91 kB / 297.5 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.03088, allocations: 28.02 kB / 297.5 MB, free: 12.27 MB / 282.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.000167/0.03105, allocations: 296 kB / 297.8 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.0311, allocations: 39.81 kB / 297.8 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000453/0.03156, allocations: 348.5 kB / 298.2 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.03156, allocations: 11.94 kB / 298.2 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.03156, allocations: 0 / 298.2 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.03157, allocations: 0 / 298.2 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007766/0.03235, allocations: 0.7718 MB / 299 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.03235, allocations: 0 / 299 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.03253, allocations: 71.91 kB / 299 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001493/0.03268, allocations: 55.64 kB / 299.1 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.0327, allocations: 15.98 kB / 299.1 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.03409, allocations: 2.103 MB / 301.2 MB, free: 8.398 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.03409, allocations: 3.938 kB / 301.2 MB, free: 8.395 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005044/0.0346, allocations: 0.525 MB / 301.7 MB, free: 7.844 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.585e-05/0.03468, allocations: 63.69 kB / 301.8 MB, free: 7.781 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.03471, allocations: 7.938 kB / 301.8 MB, free: 7.773 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.03482, allocations: 20.06 kB / 301.8 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.03488, allocations: 32.44 kB / 301.9 MB, free: 7.723 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.0349, allocations: 11.98 kB / 301.9 MB, free: 7.711 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.526e-05/0.03498, allocations: 167 kB / 302 MB, free: 7.547 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03498, allocations: 0 / 302 MB, free: 7.547 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006905/0.03567, allocations: 255.2 kB / 302.3 MB, free: 7.297 MB / 282.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.0002237/0.03589, allocations: 143.1 kB / 302.4 MB, free: 7.148 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007775/0.03667, allocations: 0.7703 MB / 303.2 MB, free: 6.336 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.03667, allocations: 0 / 303.2 MB, free: 6.336 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.03691, allocations: 326.6 kB / 303.5 MB, free: 5.992 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.0372, allocations: 46.11 kB / 303.6 MB, free: 5.949 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.03843, allocations: 0.771 MB / 304.3 MB, free: 5.148 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.605e-05/0.03853, allocations: 119.1 kB / 304.4 MB, free: 5.012 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001768/0.03871, allocations: 66.91 kB / 304.5 MB, free: 4.945 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.03885, allocations: 126.2 kB / 304.6 MB, free: 4.82 MB / 282.7 MB Notification: Performance of SimCode: time 1.523e-06/0.03885, allocations: 4 kB / 304.6 MB, free: 4.816 MB / 282.7 MB Notification: Performance of Templates: time 0.009068/0.04792, allocations: 5.133 MB / 309.8 MB, free: 15.75 MB / 298.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 -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.882047387305647]