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.000959/0.000959, allocations: 84.3 kB / 22.21 MB, free: 2.293 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.0009837/0.0009837, allocations: 168.2 kB / 25.6 MB, free: 8.117 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.8601/0.8601, allocations: 158.6 MB / 187.5 MB, free: 2.816 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 1.293e-06/1.293e-06, allocations: 0 / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.635e-05/1.764e-05, allocations: 2.312 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.003822/0.00384, allocations: 3.954 MB / 255.4 MB, free: 3.27 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.005929, allocations: 1.581 MB / 257 MB, free: 1.68 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001801/0.006109, allocations: 15.94 kB / 257 MB, free: 1.664 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009902/0.007099, allocations: 0.8047 MB / 257.8 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006033/0.007703, allocations: 429.6 kB / 258.2 MB, free: 444 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006806/0.008383, allocations: 0.6382 MB / 258.9 MB, free: 15.79 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000474/0.008857, allocations: 0.6066 MB / 259.5 MB, free: 15.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004785/0.009336, allocations: 468 kB / 259.9 MB, free: 14.72 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003232/0.009659, allocations: 383 kB / 260.3 MB, free: 14.35 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.009867, allocations: 247.3 kB / 260.6 MB, free: 14.11 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.488e-05/0.009922, allocations: 52 kB / 260.6 MB, free: 14.05 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002843/0.01021, allocations: 243.5 kB / 260.8 MB, free: 13.82 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.955e-05/0.01028, allocations: 139.4 kB / 261 MB, free: 13.68 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.01039, allocations: 191.4 kB / 261.2 MB, free: 13.49 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005039/0.0109, allocations: 0.5955 MB / 261.8 MB, free: 12.89 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.0109, allocations: 4 kB / 261.8 MB, free: 12.89 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.0109, allocations: 0 / 261.8 MB, free: 12.89 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.0109, allocations: 0 / 261.8 MB, free: 12.89 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.001248/0.01215, allocations: 1.05 MB / 262.8 MB, free: 11.8 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.01219, allocations: 11.98 kB / 262.8 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002291/0.01448, allocations: 0.7613 MB / 263.6 MB, free: 11.03 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.01478, allocations: 323.7 kB / 263.9 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/0.01481, allocations: 50.38 kB / 264 MB, free: 10.64 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-05/0.01489, allocations: 68.36 kB / 264 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004798/0.01537, allocations: 466.2 kB / 264.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.01539, allocations: 4.141 kB / 264.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.239e-05/0.01543, allocations: 43.92 kB / 264.5 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.01544, allocations: 16 kB / 264.5 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003685/0.01581, allocations: 341.7 kB / 264.9 MB, free: 9.703 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.01766, allocations: 1.953 MB / 266.8 MB, free: 7.652 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006488/0.01831, allocations: 0.5118 MB / 267.3 MB, free: 7.133 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.01846, allocations: 101.1 kB / 267.4 MB, free: 7.031 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.964e-05/0.01853, allocations: 28.47 kB / 267.5 MB, free: 7.004 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.01856, allocations: 41.89 kB / 267.5 MB, free: 6.953 MB / 250.7 MB Notification: Performance of pre-optimization done (n=48): time 2.124e-06/0.01856, allocations: 0 / 267.5 MB, free: 6.953 MB / 250.7 MB Notification: Performance of matching and sorting (n=48): time 0.0006677/0.01923, allocations: 424.3 kB / 267.9 MB, free: 6.527 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.01925, allocations: 59.91 kB / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.0194, allocations: 288 kB / 268.3 MB, free: 6.156 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.01942, allocations: 37.7 kB / 268.3 MB, free: 6.113 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.01956, allocations: 355 kB / 268.6 MB, free: 5.762 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.628e-05/0.01964, allocations: 182.4 kB / 268.8 MB, free: 5.582 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.01975, allocations: 111.9 kB / 268.9 MB, free: 5.465 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.01987, allocations: 0.5273 MB / 269.5 MB, free: 4.926 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.752e-05/0.01996, allocations: 78.19 kB / 269.5 MB, free: 4.844 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.02016, allocations: 326.8 kB / 269.9 MB, free: 4.418 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004142/0.02057, allocations: 453.4 kB / 270.3 MB, free: 3.867 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.02057, allocations: 0 / 270.3 MB, free: 3.867 MB / 250.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004739/0.02105, allocations: 460.5 kB / 270.7 MB, free: 3.406 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.02106, allocations: 8 kB / 270.8 MB, free: 3.398 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.02107, allocations: 4 kB / 270.8 MB, free: 3.395 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001774/0.02125, allocations: 76.3 kB / 270.8 MB, free: 3.316 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.0215, allocations: 123.8 kB / 271 MB, free: 3.195 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/0.0225, allocations: 2.121 MB / 273.1 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.02266, allocations: 59.61 kB / 273.1 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.02269, allocations: 20 kB / 273.2 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001514/0.02284, allocations: 212.1 kB / 273.4 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001833/0.02302, allocations: 330.7 kB / 273.7 MB, free: 244 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003499/0.02337, allocations: 441.5 kB / 274.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.615e-06/0.02337, allocations: 4 kB / 274.1 MB, free: 15.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.0005155/0.02389, allocations: 469.1 kB / 274.6 MB, free: 15.22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.0239, allocations: 8 kB / 274.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.02391, allocations: 4 kB / 274.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001461/0.02405, allocations: 75.7 kB / 274.7 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.02429, allocations: 123.8 kB / 274.8 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.02542, allocations: 2.114 MB / 276.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.02567, allocations: 55.62 kB / 277 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.0257, allocations: 23.98 kB / 277 MB, free: 12.71 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.0001275/0.02583, allocations: 299.9 kB / 277.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/0.02589, allocations: 47.81 kB / 277.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004114/0.0263, allocations: 373.2 kB / 277.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.0263, allocations: 4 kB / 277.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.0263, allocations: 0 / 277.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.02631, allocations: 4 kB / 277.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008717/0.02718, allocations: 0.8146 MB / 278.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.02718, allocations: 0 / 278.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.02739, allocations: 84.02 kB / 278.6 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001349/0.02753, allocations: 59.62 kB / 278.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.02754, allocations: 15.94 kB / 278.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.02858, allocations: 2.099 MB / 280.8 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.02858, allocations: 0 / 280.8 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005239/0.0291, allocations: 0.5485 MB / 281.3 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.531e-05/0.02918, allocations: 63.64 kB / 281.4 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.0292, allocations: 20.05 kB / 281.4 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.02933, allocations: 20.06 kB / 281.4 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/0.02938, allocations: 36.44 kB / 281.4 MB, free: 8.047 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.0294, allocations: 15.98 kB / 281.5 MB, free: 8.031 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002639/0.02967, allocations: 173.1 kB / 281.6 MB, free: 7.863 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02967, allocations: 0 / 281.6 MB, free: 7.863 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000603/0.03027, allocations: 291.1 kB / 281.9 MB, free: 7.578 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.0003289/0.0306, allocations: 139.1 kB / 282 MB, free: 7.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.03169, allocations: 0.8518 MB / 282.9 MB, free: 6.547 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.03169, allocations: 4.062 kB / 282.9 MB, free: 6.543 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000276/0.03197, allocations: 333.2 kB / 283.2 MB, free: 6.191 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.03228, allocations: 48.36 kB / 283.3 MB, free: 6.145 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.03371, allocations: 0.8888 MB / 284.2 MB, free: 5.223 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.972e-05/0.0338, allocations: 123.3 kB / 284.3 MB, free: 5.082 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002078/0.03401, allocations: 83.22 kB / 284.4 MB, free: 5.004 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.03416, allocations: 130.2 kB / 284.5 MB, free: 4.875 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.03416, allocations: 0 / 284.5 MB, free: 4.875 MB / 266.7 MB Notification: Performance of Templates: time 0.008226/0.04238, allocations: 5.277 MB / 289.8 MB, free: 15.62 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: 2.6337500200606883]