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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 113.3 kB / 17.28 MB, free: 6.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 189.3 kB / 18.19 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 205.1 MB / 224 MB, free: 12.42 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001135, allocations: 47.94 kB / 280.2 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08692/0.08807, allocations: 46.63 MB / 326.8 MB, free: 4.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.005521/0.09364, allocations: 4.104 MB / 330.9 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003093/0.09677, allocations: 1.621 MB / 332.5 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002686/0.0971, allocations: 11.94 kB / 332.5 MB, free: 15 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.09883, allocations: 0.7317 MB / 333.3 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001135/0.09998, allocations: 0.5135 MB / 333.8 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.101, allocations: 0.5024 MB / 334.3 MB, free: 13.25 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006618/0.1017, allocations: 0.5836 MB / 334.9 MB, free: 12.66 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007518/0.1024, allocations: 0.5549 MB / 335.4 MB, free: 12.1 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000293/0.1027, allocations: 263 kB / 335.7 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/0.1031, allocations: 330.7 kB / 336 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.609e-05/0.1031, allocations: 56 kB / 336 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000398/0.1035, allocations: 251.8 kB / 336.3 MB, free: 11.22 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.613e-05/0.1036, allocations: 147.4 kB / 336.4 MB, free: 11.07 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002326/0.1039, allocations: 294.5 kB / 336.7 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008174/0.1047, allocations: 0.8372 MB / 337.6 MB, free: 9.945 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1047, allocations: 4 kB / 337.6 MB, free: 9.941 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1047, allocations: 0 / 337.6 MB, free: 9.941 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.1047, allocations: 0 / 337.6 MB, free: 9.941 MB / 286.1 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.002313/0.1071, allocations: 1.046 MB / 338.6 MB, free: 8.848 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1071, allocations: 11.97 kB / 338.6 MB, free: 8.836 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004246/0.1114, allocations: 0.6012 MB / 339.2 MB, free: 8.234 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005156/0.1119, allocations: 377.4 kB / 339.6 MB, free: 7.824 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.516e-05/0.1119, allocations: 54.36 kB / 339.6 MB, free: 7.773 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.1121, allocations: 72.28 kB / 339.7 MB, free: 7.703 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.1134, allocations: 0.8016 MB / 340.5 MB, free: 6.887 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.1134, allocations: 0 / 340.5 MB, free: 6.887 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-05/0.1135, allocations: 32 kB / 340.5 MB, free: 6.855 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.1136, allocations: 25.94 kB / 340.6 MB, free: 6.832 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.115, allocations: 0.8433 MB / 341.4 MB, free: 5.988 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00384/0.1188, allocations: 2.715 MB / 344.1 MB, free: 3.094 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/0.1208, allocations: 1.971 MB / 346.1 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004392/0.1212, allocations: 250.1 kB / 346.3 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.1213, allocations: 89.53 kB / 346.4 MB, free: 448 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.1214, allocations: 43 kB / 346.5 MB, free: 396 kB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 2.014e-06/0.1214, allocations: 0 / 346.5 MB, free: 396 kB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.001915/0.1233, allocations: 0.821 MB / 347.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.1233, allocations: 59.78 kB / 347.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.1237, allocations: 312.4 kB / 347.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/0.1237, allocations: 33.7 kB / 347.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.1239, allocations: 299.6 kB / 348 MB, free: 14.81 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.124, allocations: 161.7 kB / 348.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.1242, allocations: 118.2 kB / 348.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1243, allocations: 346.8 kB / 348.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004262/0.1248, allocations: 207.4 kB / 348.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005192/0.1253, allocations: 398.3 kB / 349.2 MB, free: 13.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009518/0.1263, allocations: 0.6155 MB / 349.8 MB, free: 12.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.1263, allocations: 0 / 349.8 MB, free: 12.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001281/0.1276, allocations: 0.7003 MB / 350.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1276, allocations: 8 kB / 350.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.1276, allocations: 4 kB / 350.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002576/0.1279, allocations: 69.27 kB / 350.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005147/0.1284, allocations: 139.8 kB / 350.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/0.13, allocations: 1.775 MB / 352.5 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003955/0.1304, allocations: 71.25 kB / 352.6 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.865e-05/0.1304, allocations: 32 kB / 352.6 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005082/0.131, allocations: 333.4 kB / 352.9 MB, free: 9.531 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000476/0.1314, allocations: 382.3 kB / 353.3 MB, free: 9.074 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008678/0.1323, allocations: 0.604 MB / 353.9 MB, free: 8.387 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.158e-06/0.1323, allocations: 4 kB / 353.9 MB, free: 8.383 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001212/0.1335, allocations: 0.6925 MB / 354.6 MB, free: 7.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.1336, allocations: 8 kB / 354.6 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.1336, allocations: 8 kB / 354.6 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000175/0.1338, allocations: 57.33 kB / 354.7 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000481/0.1343, allocations: 135.8 kB / 354.8 MB, free: 7.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.1356, allocations: 1.783 MB / 356.6 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003516/0.136, allocations: 55.45 kB / 356.6 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.763e-05/0.136, allocations: 43.98 kB / 356.7 MB, free: 5.453 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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.0001713/0.1362, allocations: 212.1 kB / 356.9 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.328e-05/0.1363, allocations: 31.62 kB / 356.9 MB, free: 5.207 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.1375, allocations: 0.618 MB / 357.5 MB, free: 4.574 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.1375, allocations: 4 kB / 357.5 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1375, allocations: 4 kB / 357.5 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1375, allocations: 0 / 357.5 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/0.1394, allocations: 1.293 MB / 358.8 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1394, allocations: 0 / 358.8 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.1398, allocations: 91.88 kB / 358.9 MB, free: 3.129 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001629/0.14, allocations: 52.95 kB / 359 MB, free: 3.074 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/0.14, allocations: 19.98 kB / 359 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/0.1413, allocations: 1.767 MB / 360.8 MB, free: 1.145 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1413, allocations: 0 / 360.8 MB, free: 1.145 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.1428, allocations: 0.9169 MB / 361.7 MB, free: 212 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.143, allocations: 160.4 kB / 361.8 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.668e-05/0.1431, allocations: 11.94 kB / 361.8 MB, free: 20 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002814/0.1433, allocations: 19.98 kB / 361.9 MB, free: 0 / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.1435, allocations: 36.39 kB / 361.9 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.745e-05/0.1435, allocations: 19.98 kB / 361.9 MB, free: 15.95 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001824/0.1437, allocations: 215 kB / 362.1 MB, free: 15.74 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1437, allocations: 0 / 362.1 MB, free: 15.74 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009144/0.1446, allocations: 279.2 kB / 362.4 MB, free: 15.46 MB / 318.1 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.0002014/0.1448, allocations: 127.3 kB / 362.5 MB, free: 15.33 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002007/0.1468, allocations: 1.129 MB / 363.7 MB, free: 14.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1469, allocations: 1.5 kB / 363.7 MB, free: 14.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005893/0.1475, allocations: 389.1 kB / 364 MB, free: 13.78 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.1479, allocations: 48.64 kB / 364.1 MB, free: 13.73 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.1498, allocations: 1.236 MB / 365.3 MB, free: 12.47 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.1502, allocations: 0.8447 MB / 366.2 MB, free: 11.6 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001495/0.1517, allocations: 1.091 MB / 367.3 MB, free: 10.51 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.1518, allocations: 51.42 kB / 367.3 MB, free: 10.46 MB / 318.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1518, allocations: 0 / 367.3 MB, free: 10.46 MB / 318.1 MB Notification: Performance of Templates: time 0.01086/0.1627, allocations: 5.645 MB / 373 MB, free: 4.809 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) 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","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches