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.001769/0.001769, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.978/2.978, allocations: 205.4 MB / 223.6 MB, free: 9.035 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.001278/0.001278, allocations: 93.36 kB / 271.9 MB, free: 8.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005724/0.0005725, allocations: 12 kB / 328.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5148/0.5154, allocations: 47.58 MB / 375.7 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1714/0.6869, allocations: 82.94 MB / 458.7 MB, free: 13.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004815/0.6875, allocations: 83.89 kB / 458.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08057/0.768, allocations: 18.06 MB / 476.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.068e-06/0.7682, allocations: 0 / 476.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.265e-05/0.7682, allocations: 12 kB / 476.8 MB, free: 11.38 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.003758/0.772, allocations: 0.8508 MB / 477.7 MB, free: 10.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.924e-05/0.7721, allocations: 8.031 kB / 477.7 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006132/0.7782, allocations: 451.7 kB / 478.1 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.7794, allocations: 367.9 kB / 478.5 MB, free: 9.633 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.7795, allocations: 54.38 kB / 478.5 MB, free: 9.582 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002228/0.7798, allocations: 64.38 kB / 478.6 MB, free: 9.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003056/0.7829, allocations: 0.8217 MB / 479.4 MB, free: 8.684 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-05/0.783, allocations: 15.86 kB / 479.4 MB, free: 8.668 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/0.7831, allocations: 28 kB / 479.5 MB, free: 8.641 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.619e-05/0.7832, allocations: 20 kB / 479.5 MB, free: 8.621 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003268/0.7865, allocations: 0.8785 MB / 480.4 MB, free: 7.746 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007611/0.7941, allocations: 2.787 MB / 483.1 MB, free: 4.777 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003355/0.7976, allocations: 2.023 MB / 485.2 MB, free: 2.426 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008826/0.7985, allocations: 282.1 kB / 485.4 MB, free: 2.148 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.7987, allocations: 89.92 kB / 485.5 MB, free: 2.039 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.464e-05/0.7988, allocations: 50.92 kB / 485.6 MB, free: 1.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 4.288e-06/0.7988, allocations: 0 / 485.6 MB, free: 1.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.003377/0.8022, allocations: 0.9262 MB / 486.5 MB, free: 1.027 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.865e-05/0.8023, allocations: 81.55 kB / 486.6 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006061/0.8029, allocations: 303.2 kB / 486.9 MB, free: 0.625 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.803, allocations: 41.7 kB / 486.9 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003141/0.8033, allocations: 279.8 kB / 487.2 MB, free: 308 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/0.8036, allocations: 177.4 kB / 487.4 MB, free: 128 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.8037, allocations: 12 kB / 487.4 MB, free: 116 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002571/0.8039, allocations: 350.7 kB / 487.7 MB, free: 15.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007465/0.8047, allocations: 233.2 kB / 488 MB, free: 15.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.8057, allocations: 439.3 kB / 488.4 MB, free: 15.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001893/0.8077, allocations: 0.6834 MB / 489.1 MB, free: 14.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.8077, allocations: 4 kB / 489.1 MB, free: 14.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002638/0.8103, allocations: 0.7709 MB / 489.8 MB, free: 13.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003665/0.8107, allocations: 264.6 kB / 490.1 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/0.8108, allocations: 15.92 kB / 490.1 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004376/0.8112, allocations: 60.83 kB / 490.2 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008666/0.8121, allocations: 143.8 kB / 490.3 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/0.8149, allocations: 1.596 MB / 491.9 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009667/0.8159, allocations: 87.2 kB / 492 MB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.737e-05/0.816, allocations: 36.05 kB / 492 MB, free: 11.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.8161, allocations: 7.938 kB / 492 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00228/0.8183, allocations: 0.68 MB / 492.7 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/0.8184, allocations: 8.625 kB / 492.7 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002918/0.8187, allocations: 64.77 kB / 492.8 MB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000799/0.8195, allocations: 135.8 kB / 492.9 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.8217, allocations: 1.504 MB / 494.4 MB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007121/0.8224, allocations: 67.38 kB / 494.5 MB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.934e-05/0.8225, allocations: 31.98 kB / 494.5 MB, free: 8.406 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.0006494/0.8232, allocations: 280.9 kB / 494.8 MB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.8234, allocations: 35.53 kB / 494.8 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/0.8259, allocations: 0.6826 MB / 495.5 MB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/0.8259, allocations: 4 kB / 495.5 MB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.826, allocations: 0 / 495.5 MB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.826, allocations: 0 / 495.5 MB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004083/0.8301, allocations: 1.397 MB / 496.9 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.8301, allocations: 4 kB / 496.9 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008404/0.831, allocations: 99.88 kB / 497 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003665/0.8314, allocations: 44.83 kB / 497.1 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.232e-05/0.8315, allocations: 15.98 kB / 497.1 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002462/0.834, allocations: 1.596 MB / 498.7 MB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.834, allocations: 8 kB / 498.7 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003088/0.8371, allocations: 1.025 MB / 499.7 MB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003728/0.8375, allocations: 152.5 kB / 499.9 MB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.839e-05/0.8376, allocations: 16.05 kB / 499.9 MB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000521/0.8381, allocations: 31.98 kB / 499.9 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.8383, allocations: 36.38 kB / 499.9 MB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.451e-05/0.8384, allocations: 16 kB / 500 MB, free: 2.719 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003982/0.8388, allocations: 209.9 kB / 0.4884 GB, free: 2.512 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.8388, allocations: 0 / 0.4884 GB, free: 2.512 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002009/0.8409, allocations: 295 kB / 0.4887 GB, free: 2.223 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.0004787/0.8414, allocations: 151 kB / 0.4889 GB, free: 2.066 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004189/0.8456, allocations: 1.209 MB / 0.49 GB, free: 0.832 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/0.8456, allocations: 0 / 0.49 GB, free: 0.832 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001476/0.8471, allocations: 433.9 kB / 0.4905 GB, free: 408 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.8482, allocations: 44.58 kB / 0.4905 GB, free: 364 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3172/1.165, allocations: 1.313 MB / 0.4918 GB, free: 102.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007718/1.166, allocations: 0.8402 MB / 0.4926 GB, free: 101.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004787/1.167, allocations: 62.53 kB / 0.4927 GB, free: 101.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.914e-06/1.167, allocations: 0.5 kB / 0.4927 GB, free: 101.5 MB / 378.7 MB Notification: Performance of Templates: time 0.02989/1.197, allocations: 8.893 MB / 0.5013 GB, free: 101 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