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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001218/0.001218, allocations: 181 kB / 17.02 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.4 MB / 223.1 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007516/0.0007516, allocations: 102.6 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002302/0.0002302, allocations: 4 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2361, allocations: 47.57 MB / 375.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1093/0.3455, allocations: 82.87 MB / 458.7 MB, free: 13.81 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/0.3459, allocations: 83.94 kB / 458.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04521/0.3911, allocations: 18.1 MB / 476.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.3911, allocations: 0 / 476.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.006e-05/0.3911, allocations: 8 kB / 476.9 MB, free: 11.44 MB / 362.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.001792/0.3929, allocations: 0.8506 MB / 477.7 MB, free: 10.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.393, allocations: 8.031 kB / 477.7 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002927/0.3959, allocations: 462.8 kB / 478.2 MB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005019/0.3965, allocations: 362.6 kB / 478.5 MB, free: 9.688 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.584e-05/0.3965, allocations: 50 kB / 478.6 MB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.3966, allocations: 68 kB / 478.7 MB, free: 9.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.398, allocations: 0.8289 MB / 479.5 MB, free: 8.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.398, allocations: 0 / 479.5 MB, free: 8.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-05/0.3981, allocations: 28 kB / 479.5 MB, free: 8.703 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.3981, allocations: 16 kB / 479.5 MB, free: 8.688 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/0.3997, allocations: 0.8785 MB / 480.4 MB, free: 7.805 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00409/0.4038, allocations: 2.791 MB / 483.2 MB, free: 4.836 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.4058, allocations: 2.031 MB / 485.2 MB, free: 2.477 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.451e-05/0.4059, allocations: 89.92 kB / 485.3 MB, free: 2.371 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.406, allocations: 43 kB / 485.4 MB, free: 2.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 3.567e-06/0.406, allocations: 0 / 485.4 MB, free: 2.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.002022/0.408, allocations: 1.086 MB / 486.4 MB, free: 1.168 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.4081, allocations: 81.55 kB / 486.5 MB, free: 1.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.4084, allocations: 274.4 kB / 486.8 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.4084, allocations: 33.7 kB / 486.8 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.4086, allocations: 283.7 kB / 487.1 MB, free: 492 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.4087, allocations: 181.4 kB / 487.3 MB, free: 308 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.4088, allocations: 12 kB / 487.3 MB, free: 296 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4089, allocations: 347 kB / 487.6 MB, free: 15.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004265/0.4093, allocations: 233.2 kB / 487.9 MB, free: 15.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005776/0.4099, allocations: 443.2 kB / 488.3 MB, free: 15.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005092/0.4104, allocations: 276.2 kB / 488.6 MB, free: 14.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.4105, allocations: 0 / 488.6 MB, free: 14.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001446/0.4119, allocations: 0.7749 MB / 489.3 MB, free: 14.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001032/0.413, allocations: 2.442 MB / 491.8 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.413, allocations: 8 kB / 491.8 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002634/0.4133, allocations: 56.83 kB / 491.8 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000539/0.4138, allocations: 151.7 kB / 492 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/0.4154, allocations: 1.6 MB / 493.6 MB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004596/0.4159, allocations: 91.27 kB / 493.7 MB, free: 9.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/0.416, allocations: 31.98 kB / 493.7 MB, free: 9.434 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.416, allocations: 6.031 kB / 493.7 MB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001201/0.4172, allocations: 0.6839 MB / 494.4 MB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.4172, allocations: 8 kB / 494.4 MB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000153/0.4174, allocations: 52.83 kB / 494.5 MB, free: 8.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004723/0.4179, allocations: 139.7 kB / 494.6 MB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.4191, allocations: 1.52 MB / 496.1 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003708/0.4195, allocations: 75.42 kB / 496.2 MB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-05/0.4195, allocations: 31.98 kB / 496.2 MB, free: 6.781 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (71): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003387/0.4199, allocations: 264.9 kB / 496.5 MB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.932e-05/0.42, allocations: 43.48 kB / 496.5 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.4213, allocations: 0.6788 MB / 497.2 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.4213, allocations: 4 kB / 497.2 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4213, allocations: 4 kB / 497.2 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.4213, allocations: 7.938 kB / 497.2 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/0.4236, allocations: 1.397 MB / 498.6 MB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/0.4236, allocations: 0 / 498.6 MB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004207/0.424, allocations: 99.86 kB / 498.7 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001717/0.4242, allocations: 56.83 kB / 498.8 MB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.4243, allocations: 15.98 kB / 498.8 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.4255, allocations: 1.581 MB / 0.4886 GB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4256, allocations: 0 / 0.4886 GB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.4273, allocations: 1.037 MB / 0.4896 GB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.4274, allocations: 168.4 kB / 0.4898 GB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.19e-05/0.4275, allocations: 7.984 kB / 0.4898 GB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.4278, allocations: 31.98 kB / 0.4898 GB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.397e-05/0.4279, allocations: 36.38 kB / 0.4899 GB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-05/0.4279, allocations: 20.06 kB / 0.4899 GB, free: 1.082 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001945/0.4281, allocations: 209.9 kB / 0.4901 GB, free: 0.875 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4281, allocations: 0 / 0.4901 GB, free: 0.875 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009704/0.4291, allocations: 291.1 kB / 0.4904 GB, free: 0.5898 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002736/0.4294, allocations: 155 kB / 0.4905 GB, free: 440 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1554/0.5848, allocations: 1.202 MB / 0.4917 GB, free: 103 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.515e-06/0.5849, allocations: 0.5312 kB / 0.4917 GB, free: 103 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000891/0.5857, allocations: 429.2 kB / 0.4921 GB, free: 102.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.5863, allocations: 40.97 kB / 0.4921 GB, free: 102.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004314/0.5906, allocations: 1.801 MB / 0.4939 GB, free: 102.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.591, allocations: 0.8535 MB / 0.4947 GB, free: 101.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001627/0.5926, allocations: 1.094 MB / 0.4958 GB, free: 101.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.5928, allocations: 47.22 kB / 0.4959 GB, free: 101.6 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5928, allocations: 0 / 0.4959 GB, free: 101.6 MB / 378.7 MB Notification: Performance of Templates: time 0.01037/0.6032, allocations: 5.75 MB / 0.5015 GB, free: 101.3 MB / 378.7 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