Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.0015/0.0015, allocations: 185.7 kB / 16.4 MB, free: 5.746 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.903/1.903, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001113/0.001113, allocations: 97.97 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.0003945, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3204, allocations: 47.57 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1292/0.4496, allocations: 82.87 MB / 457.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.4499, allocations: 83.95 kB / 457.5 MB, free: 13.81 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07125/0.5212, allocations: 18.09 MB / 475.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.5213, allocations: 0 / 475.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.996e-05/0.5213, allocations: 12 kB / 475.6 MB, free: 11.53 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.002926/0.5242, allocations: 0.8584 MB / 476.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.19e-05/0.5243, allocations: 8.031 kB / 476.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004748/0.5291, allocations: 458.8 kB / 476.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008096/0.5299, allocations: 362.6 kB / 477.3 MB, free: 9.773 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.06e-05/0.53, allocations: 50 kB / 477.3 MB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.5302, allocations: 71.94 kB / 477.4 MB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/0.5327, allocations: 0.8211 MB / 478.2 MB, free: 8.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.132e-05/0.5328, allocations: 4 kB / 478.2 MB, free: 8.816 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.5329, allocations: 28 kB / 478.2 MB, free: 8.789 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/0.533, allocations: 19.98 kB / 478.3 MB, free: 8.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002746/0.5357, allocations: 0.8785 MB / 479.1 MB, free: 7.887 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006742/0.5425, allocations: 2.791 MB / 481.9 MB, free: 4.918 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003451/0.546, allocations: 2.027 MB / 483.9 MB, free: 2.562 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001835/0.5462, allocations: 93.91 kB / 484 MB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.5463, allocations: 39 kB / 484.1 MB, free: 2.406 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 3.436e-06/0.5463, allocations: 0 / 484.1 MB, free: 2.406 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.003634/0.5499, allocations: 1.086 MB / 485.2 MB, free: 1.254 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.55, allocations: 89.53 kB / 485.3 MB, free: 1.148 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004526/0.5505, allocations: 266.4 kB / 485.5 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.784e-05/0.5506, allocations: 37.7 kB / 485.5 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.5508, allocations: 342.1 kB / 485.9 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.551, allocations: 177.4 kB / 486.1 MB, free: 340 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.233e-05/0.5511, allocations: 16 kB / 486.1 MB, free: 324 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.5513, allocations: 335 kB / 486.4 MB, free: 15.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008223/0.5521, allocations: 225.2 kB / 486.6 MB, free: 15.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000998/0.5531, allocations: 443.3 kB / 487.1 MB, free: 15.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009459/0.5541, allocations: 272.2 kB / 487.3 MB, free: 14.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/0.5541, allocations: 4 kB / 487.3 MB, free: 14.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00258/0.5567, allocations: 0.7674 MB / 488.1 MB, free: 14.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001009/0.5578, allocations: 2.442 MB / 490.5 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/0.5578, allocations: 4 kB / 490.5 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004222/0.5583, allocations: 60.83 kB / 490.6 MB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.5594, allocations: 151.7 kB / 490.7 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/0.5615, allocations: 1.592 MB / 492.3 MB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008097/0.5624, allocations: 91.27 kB / 492.4 MB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.431e-05/0.5625, allocations: 31.98 kB / 492.5 MB, free: 9.496 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.5625, allocations: 4 kB / 492.5 MB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002309/0.5648, allocations: 0.6841 MB / 493.1 MB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.5649, allocations: 11.98 kB / 493.2 MB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002385/0.5651, allocations: 52.83 kB / 493.2 MB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009706/0.5661, allocations: 139.7 kB / 493.3 MB, free: 8.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.568, allocations: 1.516 MB / 494.9 MB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006765/0.5687, allocations: 59.52 kB / 494.9 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.163e-05/0.5688, allocations: 36.05 kB / 495 MB, free: 6.855 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.0004694/0.5693, allocations: 264.9 kB / 495.2 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.5694, allocations: 47.48 kB / 495.3 MB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/0.5719, allocations: 0.6826 MB / 495.9 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/0.5719, allocations: 11.92 kB / 496 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.5719, allocations: 0 / 496 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.572, allocations: 3.953 kB / 496 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003734/0.5757, allocations: 1.398 MB / 497.4 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.5758, allocations: 0 / 497.4 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008273/0.5766, allocations: 95.88 kB / 497.4 MB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002948/0.5769, allocations: 48.83 kB / 497.5 MB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.388e-05/0.577, allocations: 19.98 kB / 497.5 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/0.579, allocations: 1.588 MB / 499.1 MB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.579, allocations: 4 kB / 499.1 MB, free: 2.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003232/0.5823, allocations: 1.025 MB / 0.4884 GB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002946/0.5826, allocations: 172.5 kB / 0.4886 GB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.964e-05/0.5827, allocations: 11.92 kB / 0.4886 GB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005417/0.5833, allocations: 31.98 kB / 0.4886 GB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.5834, allocations: 36.38 kB / 0.4887 GB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-05/0.5835, allocations: 19.98 kB / 0.4887 GB, free: 1.148 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003208/0.5838, allocations: 202 kB / 0.4889 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5839, allocations: 8 kB / 0.4889 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001448/0.5853, allocations: 287.1 kB / 0.4891 GB, free: 0.6602 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.0003519/0.5857, allocations: 151 kB / 0.4893 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.256/0.8417, allocations: 1.199 MB / 0.4905 GB, free: 102.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.8418, allocations: 0.5312 kB / 0.4905 GB, free: 102.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.843, allocations: 431.2 kB / 0.4909 GB, free: 102.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005274/0.8436, allocations: 34.66 kB / 0.4909 GB, free: 102.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00564/0.8492, allocations: 1.839 MB / 0.4927 GB, free: 102.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.8497, allocations: 0.8608 MB / 0.4935 GB, free: 101.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003641/0.85, allocations: 57.38 kB / 0.4936 GB, free: 101.4 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.85, allocations: 0 / 0.4936 GB, free: 101.4 MB / 378.7 MB Notification: Performance of Templates: time 0.0177/0.8678, allocations: 8.674 MB / 0.5021 GB, free: 101.1 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches