Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.001401/0.001401, allocations: 75.75 kB / 21.97 MB, free: 2.598 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.001671/0.001671, allocations: 170.5 kB / 25.33 MB, free: 9.066 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9644/0.9644, allocations: 158.6 MB / 187.2 MB, free: 2.945 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 251 MB, free: 7.535 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.118e-05, allocations: 2.312 kB / 251 MB, free: 7.531 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.00474/0.004771, allocations: 4.048 MB / 255.1 MB, free: 3.457 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002861/0.007631, allocations: 1.597 MB / 256.7 MB, free: 1.852 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003575/0.007989, allocations: 15.94 kB / 256.7 MB, free: 1.836 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001364/0.009353, allocations: 0.8242 MB / 257.5 MB, free: 1.004 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.01037, allocations: 429.7 kB / 257.9 MB, free: 0.582 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.0115, allocations: 0.6499 MB / 258.6 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009356/0.01244, allocations: 0.6105 MB / 259.2 MB, free: 15.32 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007182/0.01316, allocations: 476 kB / 259.7 MB, free: 14.85 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004933/0.01365, allocations: 379.1 kB / 260 MB, free: 14.48 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003185/0.01397, allocations: 251.3 kB / 260.3 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.552e-05/0.01404, allocations: 56 kB / 260.3 MB, free: 14.18 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004935/0.01454, allocations: 235.6 kB / 260.6 MB, free: 13.95 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.5e-05/0.01462, allocations: 143.5 kB / 260.7 MB, free: 13.8 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.0148, allocations: 207.4 kB / 260.9 MB, free: 13.6 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000845/0.01564, allocations: 0.6033 MB / 261.5 MB, free: 13 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.01565, allocations: 0 / 261.5 MB, free: 13 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.01565, allocations: 0 / 261.5 MB, free: 13 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.01566, allocations: 0 / 261.5 MB, free: 13 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.001744/0.01741, allocations: 1.05 MB / 262.6 MB, free: 11.91 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/0.01746, allocations: 15.98 kB / 262.6 MB, free: 11.89 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002463/0.01993, allocations: 0.7652 MB / 263.3 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005874/0.02051, allocations: 329.7 kB / 263.7 MB, free: 10.78 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.438e-05/0.02056, allocations: 54.38 kB / 263.7 MB, free: 10.72 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.02066, allocations: 68.38 kB / 263.8 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008087/0.02147, allocations: 0.636 MB / 264.4 MB, free: 9.992 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.02149, allocations: 4.141 kB / 264.4 MB, free: 9.988 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.913e-05/0.02154, allocations: 35.94 kB / 264.5 MB, free: 9.953 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.02155, allocations: 16 kB / 264.5 MB, free: 9.938 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006357/0.02219, allocations: 431.6 kB / 264.9 MB, free: 9.516 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002384/0.02457, allocations: 1.937 MB / 266.8 MB, free: 7.48 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008545/0.02543, allocations: 0.535 MB / 267.4 MB, free: 6.938 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.0256, allocations: 125.1 kB / 267.5 MB, free: 6.812 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.336e-05/0.02566, allocations: 16.5 kB / 267.5 MB, free: 6.797 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.02568, allocations: 45.89 kB / 267.5 MB, free: 6.742 MB / 250.7 MB Notification: Performance of pre-optimization done (n=48): time 2.956e-06/0.02569, allocations: 0 / 267.5 MB, free: 6.742 MB / 250.7 MB Notification: Performance of matching and sorting (n=48): time 0.0008447/0.02653, allocations: 476.3 kB / 268 MB, free: 6.266 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.02657, allocations: 55.91 kB / 268.1 MB, free: 6.199 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.02677, allocations: 296.1 kB / 268.4 MB, free: 5.891 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.0268, allocations: 29.7 kB / 268.4 MB, free: 5.855 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.02695, allocations: 359 kB / 268.7 MB, free: 5.5 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.779e-05/0.02705, allocations: 170.9 kB / 268.9 MB, free: 5.332 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.02717, allocations: 115.9 kB / 269 MB, free: 5.211 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.02731, allocations: 0.5157 MB / 269.5 MB, free: 4.684 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.02746, allocations: 102.2 kB / 269.6 MB, free: 4.578 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.02772, allocations: 346.8 kB / 270 MB, free: 4.133 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004248/0.02814, allocations: 485.5 kB / 270.4 MB, free: 3.551 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.02814, allocations: 0 / 270.4 MB, free: 3.551 MB / 250.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006192/0.02876, allocations: 0.4967 MB / 270.9 MB, free: 3.043 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.02879, allocations: 11.94 kB / 271 MB, free: 3.031 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.0288, allocations: 4 kB / 271 MB, free: 3.027 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002406/0.02904, allocations: 68.23 kB / 271 MB, free: 2.957 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.02931, allocations: 127.8 kB / 271.1 MB, free: 2.832 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/0.03056, allocations: 2.156 MB / 273.3 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.03075, allocations: 55.62 kB / 273.4 MB, free: 0.5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.03078, allocations: 39.92 kB / 273.4 MB, free: 472 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002112/0.03099, allocations: 220.1 kB / 273.6 MB, free: 248 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002471/0.03124, allocations: 350.7 kB / 274 MB, free: 15.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004161/0.03166, allocations: 481.5 kB / 274.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.405e-06/0.03166, allocations: 0 / 274.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.0006429/0.0323, allocations: 0.4925 MB / 274.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.03232, allocations: 8.781 kB / 274.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.03233, allocations: 11.98 kB / 274.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000184/0.03251, allocations: 67.66 kB / 275 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.03276, allocations: 127.8 kB / 275.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/0.03391, allocations: 2.153 MB / 277.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.03409, allocations: 43.73 kB / 277.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.03411, allocations: 24 kB / 277.3 MB, free: 12.15 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (69): * Single equations (assignments): 68 * 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.0001612/0.03428, allocations: 303.8 kB / 277.6 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/0.03434, allocations: 55.7 kB / 277.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005408/0.03488, allocations: 405.2 kB / 278.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.03488, allocations: 8 kB / 278.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.03489, allocations: 3.938 kB / 278.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.03489, allocations: 3.984 kB / 278.1 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000935/0.03583, allocations: 0.908 MB / 279 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.03583, allocations: 4 kB / 279 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.03603, allocations: 79.89 kB / 279.1 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001517/0.03618, allocations: 59.64 kB / 279.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.0362, allocations: 8 kB / 279.2 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.03729, allocations: 2.141 MB / 281.3 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.03729, allocations: 48 / 281.3 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006509/0.03795, allocations: 0.6031 MB / 281.9 MB, free: 7.375 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.503e-05/0.03803, allocations: 71.58 kB / 282 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.03806, allocations: 8 kB / 282 MB, free: 7.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.03818, allocations: 24.05 kB / 282 MB, free: 7.273 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.375e-05/0.03825, allocations: 32.44 kB / 282 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.03827, allocations: 19.98 kB / 282.1 MB, free: 7.223 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001281/0.0384, allocations: 189.1 kB / 282.2 MB, free: 7.039 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0384, allocations: 0 / 282.2 MB, free: 7.039 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007681/0.03917, allocations: 283.1 kB / 282.5 MB, free: 6.762 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 (46): * Single equations (assignments): 45 * 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.0002398/0.03941, allocations: 135.2 kB / 282.7 MB, free: 6.617 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.04043, allocations: 0.91 MB / 283.6 MB, free: 5.676 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.04043, allocations: 0.5625 kB / 283.6 MB, free: 5.676 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002849/0.04071, allocations: 353.2 kB / 283.9 MB, free: 5.305 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.04102, allocations: 48.36 kB / 284 MB, free: 5.258 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.04264, allocations: 0.8968 MB / 284.9 MB, free: 4.328 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.4e-05/0.04274, allocations: 123.3 kB / 285 MB, free: 4.188 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001988/0.04294, allocations: 79.23 kB / 285.1 MB, free: 4.113 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.405e-05/0.04302, allocations: 44.48 kB / 285.1 MB, free: 4.066 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.04302, allocations: 0 / 285.1 MB, free: 4.066 MB / 266.7 MB Notification: Performance of Templates: time 0.008352/0.05137, allocations: 4.746 MB / 289.8 MB, free: 15.35 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/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.0351511323824525]