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.0009051/0.0009051, allocations: 79.73 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.0009641/0.0009641, allocations: 164.7 kB / 25.33 MB, free: 8.582 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.8395/0.8395, allocations: 158.6 MB / 187.2 MB, free: 2.922 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.282e-06/1.282e-06, allocations: 0 / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.405e-05, allocations: 2.312 kB / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.00402/0.004044, allocations: 4.044 MB / 255.1 MB, free: 3.441 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.006257, allocations: 1.597 MB / 256.7 MB, free: 1.836 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002595/0.006516, allocations: 15.94 kB / 256.7 MB, free: 1.82 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.007664, allocations: 0.8281 MB / 257.5 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007402/0.008405, allocations: 429.6 kB / 257.9 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008081/0.009213, allocations: 0.6488 MB / 258.6 MB, free: 15.91 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000825/0.01004, allocations: 0.6105 MB / 259.2 MB, free: 15.3 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006048/0.01064, allocations: 472 kB / 259.7 MB, free: 14.84 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003622/0.011, allocations: 379 kB / 260 MB, free: 14.46 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.01124, allocations: 251.3 kB / 260.3 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.532e-05/0.01129, allocations: 56 kB / 260.3 MB, free: 14.16 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003743/0.01167, allocations: 235.6 kB / 260.6 MB, free: 13.93 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.722e-05/0.01174, allocations: 135.5 kB / 260.7 MB, free: 13.8 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.01187, allocations: 199.4 kB / 260.9 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006361/0.0125, allocations: 0.5877 MB / 261.5 MB, free: 13.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.01251, allocations: 0 / 261.5 MB, free: 13.02 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01251, allocations: 0 / 261.5 MB, free: 13.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.01252, allocations: 0 / 261.5 MB, free: 13.02 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.001381/0.0139, allocations: 1.05 MB / 262.5 MB, free: 11.93 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.01393, allocations: 15.98 kB / 262.5 MB, free: 11.91 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00239/0.01632, allocations: 0.7613 MB / 263.3 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004024/0.01673, allocations: 315.7 kB / 263.6 MB, free: 10.81 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.519e-05/0.01676, allocations: 54.38 kB / 263.7 MB, free: 10.76 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.398e-05/0.01683, allocations: 68.38 kB / 263.7 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006709/0.01751, allocations: 0.5217 MB / 264.3 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.01752, allocations: 4.141 kB / 264.3 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.384e-05/0.01757, allocations: 27.94 kB / 264.3 MB, free: 10.13 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.01758, allocations: 16 kB / 264.3 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005501/0.01813, allocations: 423.6 kB / 264.7 MB, free: 9.695 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002342/0.02048, allocations: 1.945 MB / 266.7 MB, free: 7.652 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007949/0.02127, allocations: 0.5389 MB / 267.2 MB, free: 7.105 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.02142, allocations: 125.1 kB / 267.3 MB, free: 6.98 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.915e-05/0.02147, allocations: 20.48 kB / 267.3 MB, free: 6.961 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.0215, allocations: 37.89 kB / 267.4 MB, free: 6.914 MB / 250.7 MB Notification: Performance of pre-optimization done (n=48): time 1.894e-06/0.0215, allocations: 0 / 267.4 MB, free: 6.914 MB / 250.7 MB Notification: Performance of matching and sorting (n=48): time 0.0008092/0.02231, allocations: 480.3 kB / 267.8 MB, free: 6.434 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.02234, allocations: 55.91 kB / 267.9 MB, free: 6.367 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.02251, allocations: 288.2 kB / 268.2 MB, free: 6.066 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.02254, allocations: 33.7 kB / 268.2 MB, free: 6.027 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.02267, allocations: 363.3 kB / 268.6 MB, free: 5.668 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.477e-05/0.02275, allocations: 170.5 kB / 268.7 MB, free: 5.5 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.02286, allocations: 115.9 kB / 268.9 MB, free: 5.379 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.02298, allocations: 0.5117 MB / 269.4 MB, free: 4.855 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.02312, allocations: 106.2 kB / 269.5 MB, free: 4.746 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.02336, allocations: 342.8 kB / 269.8 MB, free: 4.305 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003949/0.02375, allocations: 489.4 kB / 270.3 MB, free: 3.719 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.02376, allocations: 4 kB / 270.3 MB, free: 3.715 MB / 250.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005682/0.02433, allocations: 0.4927 MB / 270.8 MB, free: 3.211 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.02434, allocations: 8 kB / 270.8 MB, free: 3.203 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.02435, allocations: 8 kB / 270.8 MB, free: 3.195 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002181/0.02457, allocations: 68.2 kB / 270.9 MB, free: 3.125 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.02482, allocations: 127.8 kB / 271 MB, free: 3 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.02613, allocations: 2.152 MB / 273.1 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.02631, allocations: 67.64 kB / 273.2 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.02634, allocations: 24 kB / 273.2 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001896/0.02653, allocations: 224.1 kB / 273.4 MB, free: 424 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002266/0.02675, allocations: 350.7 kB / 273.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003784/0.02713, allocations: 481.5 kB / 274.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.766e-06/0.02714, allocations: 0 / 274.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.0005432/0.02768, allocations: 0.5003 MB / 274.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.02769, allocations: 8.781 kB / 274.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.02769, allocations: 4 kB / 274.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001474/0.02784, allocations: 75.58 kB / 274.8 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.02807, allocations: 123.8 kB / 275 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009177/0.02899, allocations: 2.149 MB / 277.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.02915, allocations: 51.62 kB / 277.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.02918, allocations: 24 kB / 277.2 MB, free: 12.32 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.0001397/0.02932, allocations: 311.9 kB / 277.5 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.508e-05/0.02937, allocations: 47.75 kB / 277.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004977/0.02987, allocations: 401.3 kB / 277.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.02987, allocations: 4 kB / 277.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.02988, allocations: 7.922 kB / 277.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.02988, allocations: 0 / 277.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008845/0.03077, allocations: 0.9041 MB / 278.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.03077, allocations: 4 kB / 278.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.03096, allocations: 83.89 kB / 278.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001442/0.03111, allocations: 59.64 kB / 279 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.03113, allocations: 11.94 kB / 279 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/0.03233, allocations: 2.145 MB / 281.1 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.03233, allocations: 0 / 281.1 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006096/0.03294, allocations: 0.6031 MB / 281.7 MB, free: 7.539 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.922e-05/0.03302, allocations: 67.64 kB / 281.8 MB, free: 7.473 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.03306, allocations: 8 kB / 281.8 MB, free: 7.465 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.03324, allocations: 20.05 kB / 281.8 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.86e-05/0.03331, allocations: 40.38 kB / 281.9 MB, free: 7.406 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.03332, allocations: 15.98 kB / 281.9 MB, free: 7.391 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.213e-05/0.03342, allocations: 189.1 kB / 282.1 MB, free: 7.207 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03342, allocations: 0 / 282.1 MB, free: 7.207 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006348/0.03405, allocations: 291.1 kB / 282.4 MB, free: 6.922 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.0002048/0.03425, allocations: 131.1 kB / 282.5 MB, free: 6.781 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009051/0.03516, allocations: 0.9061 MB / 283.4 MB, free: 5.844 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.03516, allocations: 0 / 283.4 MB, free: 5.844 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.03541, allocations: 349.8 kB / 283.7 MB, free: 5.477 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.03569, allocations: 44.42 kB / 283.8 MB, free: 5.434 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.03704, allocations: 0.9083 MB / 284.7 MB, free: 4.492 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.414e-05/0.03712, allocations: 123.3 kB / 284.8 MB, free: 4.352 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001912/0.03731, allocations: 79.23 kB / 284.9 MB, free: 4.277 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.971e-05/0.03739, allocations: 40.5 kB / 284.9 MB, free: 4.234 MB / 266.7 MB Notification: Performance of SimCode: time 1.372e-06/0.03739, allocations: 4 kB / 284.9 MB, free: 4.23 MB / 266.7 MB Notification: Performance of Templates: time 0.008289/0.04568, allocations: 5.139 MB / 290.1 MB, free: 15.12 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.8146656421013176]