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.0009766/0.0009766, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.001001/0.001001, allocations: 161.5 kB / 25.75 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.829/0.829, allocations: 158.6 MB / 187.6 MB, free: 2.898 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.173e-06/1.173e-06, allocations: 0 / 251.1 MB, free: 7.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.553e-05, allocations: 2.312 kB / 251.1 MB, free: 7.805 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.003846/0.003862, allocations: 4.024 MB / 255.1 MB, free: 3.754 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002521/0.006383, allocations: 1.597 MB / 256.7 MB, free: 2.148 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.006614, allocations: 19.88 kB / 256.7 MB, free: 2.129 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001303/0.007917, allocations: 0.8125 MB / 257.6 MB, free: 1.309 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007881/0.008705, allocations: 429.6 kB / 258 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009228/0.009627, allocations: 0.646 MB / 258.6 MB, free: 244 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006199/0.01025, allocations: 0.6107 MB / 259.2 MB, free: 15.62 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000722/0.01097, allocations: 464 kB / 259.7 MB, free: 15.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003883/0.01136, allocations: 387 kB / 260.1 MB, free: 14.79 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.01163, allocations: 255.2 kB / 260.3 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.638e-05/0.0117, allocations: 56 kB / 260.4 MB, free: 14.48 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003724/0.01207, allocations: 235.6 kB / 260.6 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.474e-05/0.01216, allocations: 139.5 kB / 260.7 MB, free: 14.11 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.01232, allocations: 207.4 kB / 260.9 MB, free: 13.91 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006891/0.01301, allocations: 0.5994 MB / 261.5 MB, free: 13.31 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.01301, allocations: 3.984 kB / 261.5 MB, free: 13.3 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.01301, allocations: 0 / 261.5 MB, free: 13.3 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.01302, allocations: 0 / 261.5 MB, free: 13.3 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.001768/0.01479, allocations: 1.054 MB / 262.6 MB, free: 12.21 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.01482, allocations: 11.98 kB / 262.6 MB, free: 12.2 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003728/0.01855, allocations: 0.7691 MB / 263.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004603/0.01901, allocations: 337.7 kB / 263.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/0.01917, allocations: 46.38 kB / 263.8 MB, free: 11.03 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-05/0.01926, allocations: 72.38 kB / 263.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009061/0.02017, allocations: 0.632 MB / 264.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.02019, allocations: 8.141 kB / 264.5 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.756e-05/0.02025, allocations: 31.94 kB / 264.5 MB, free: 10.26 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.02026, allocations: 16 kB / 264.5 MB, free: 10.24 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007477/0.02101, allocations: 419.7 kB / 264.9 MB, free: 9.832 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002472/0.02348, allocations: 1.945 MB / 266.9 MB, free: 7.789 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.02468, allocations: 0.5349 MB / 267.4 MB, free: 7.25 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.02486, allocations: 129.1 kB / 267.5 MB, free: 7.121 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.714e-05/0.02491, allocations: 20.48 kB / 267.5 MB, free: 7.102 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.02493, allocations: 37.89 kB / 267.6 MB, free: 7.055 MB / 250.7 MB Notification: Performance of pre-optimization done (n=48): time 1.713e-06/0.02494, allocations: 0 / 267.6 MB, free: 7.055 MB / 250.7 MB Notification: Performance of matching and sorting (n=48): time 0.0009351/0.02587, allocations: 476.7 kB / 268 MB, free: 6.578 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.0259, allocations: 55.91 kB / 268.1 MB, free: 6.512 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.0261, allocations: 288.2 kB / 268.4 MB, free: 6.211 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.02613, allocations: 37.69 kB / 268.4 MB, free: 6.168 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.02629, allocations: 359 kB / 268.8 MB, free: 5.812 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.02639, allocations: 170.5 kB / 268.9 MB, free: 5.645 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.02653, allocations: 119.9 kB / 269.1 MB, free: 5.52 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.02667, allocations: 0.5195 MB / 269.6 MB, free: 4.988 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.02684, allocations: 98.25 kB / 269.7 MB, free: 4.887 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/0.02713, allocations: 342.8 kB / 270 MB, free: 4.445 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004999/0.02763, allocations: 485.5 kB / 270.5 MB, free: 3.863 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.02763, allocations: 0 / 270.5 MB, free: 3.863 MB / 250.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007281/0.02836, allocations: 0.4972 MB / 271 MB, free: 3.355 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.02837, allocations: 12.03 kB / 271 MB, free: 3.344 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.02838, allocations: 8 kB / 271 MB, free: 3.336 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002366/0.02862, allocations: 63.64 kB / 271.1 MB, free: 3.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/0.02896, allocations: 127.8 kB / 271.2 MB, free: 3.145 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.03016, allocations: 2.156 MB / 273.3 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.03038, allocations: 51.62 kB / 273.4 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.03042, allocations: 32 kB / 273.4 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002398/0.03066, allocations: 224.1 kB / 273.6 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002784/0.03094, allocations: 350.7 kB / 274 MB, free: 112 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007284/0.03167, allocations: 489.5 kB / 274.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.615e-06/0.03167, allocations: 0 / 274.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.0007072/0.03238, allocations: 0.5009 MB / 275 MB, free: 15.01 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/0.03239, allocations: 4 kB / 275 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.03239, allocations: 8 kB / 275 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/0.03256, allocations: 71.83 kB / 275 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.03287, allocations: 127.8 kB / 275.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.03398, allocations: 2.145 MB / 277.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.03419, allocations: 51.62 kB / 277.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.03422, allocations: 31.97 kB / 277.4 MB, free: 12.45 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.00014/0.03436, allocations: 307.9 kB / 277.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.497e-05/0.03443, allocations: 51.75 kB / 277.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006121/0.03505, allocations: 397.2 kB / 278.1 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.03505, allocations: 4 kB / 278.1 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.03505, allocations: 7.938 kB / 278.1 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.03506, allocations: 3.984 kB / 278.1 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.03612, allocations: 0.908 MB / 279.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.03612, allocations: 0 / 279.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.03637, allocations: 83.89 kB / 279.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001582/0.03653, allocations: 59.59 kB / 279.2 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.03656, allocations: 15.98 kB / 279.2 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.03787, allocations: 2.137 MB / 281.3 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.03787, allocations: 0 / 281.3 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007382/0.03861, allocations: 0.6032 MB / 282 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.859e-05/0.03871, allocations: 71.64 kB / 282 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.03874, allocations: 4 kB / 282 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.0389, allocations: 19.94 kB / 282 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.03897, allocations: 36.42 kB / 282.1 MB, free: 7.551 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.039, allocations: 16 kB / 282.1 MB, free: 7.535 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001077/0.0391, allocations: 189.1 kB / 282.3 MB, free: 7.352 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0391, allocations: 0 / 282.3 MB, free: 7.352 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008007/0.0399, allocations: 287.2 kB / 282.6 MB, free: 7.07 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.0001781/0.04008, allocations: 135.1 kB / 282.7 MB, free: 6.926 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.04112, allocations: 0.91 MB / 283.6 MB, free: 5.984 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.04112, allocations: 0 / 283.6 MB, free: 5.984 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003201/0.04144, allocations: 349.2 kB / 283.9 MB, free: 5.617 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.04178, allocations: 48.41 kB / 284 MB, free: 5.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.04326, allocations: 0.909 MB / 284.9 MB, free: 4.629 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.573e-05/0.04334, allocations: 119.3 kB / 285 MB, free: 4.492 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002629/0.04361, allocations: 79.23 kB / 285.1 MB, free: 4.418 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.188e-05/0.0437, allocations: 40.48 kB / 285.1 MB, free: 4.375 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.0437, allocations: 0 / 285.1 MB, free: 4.375 MB / 266.7 MB Notification: Performance of Templates: time 0.007691/0.05139, allocations: 4.736 MB / 289.9 MB, free: 15.68 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.6704237579833716]