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.002243/0.002242, allocations: 182.3 kB / 13.66 MB, free: 1.664 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.102/2.102, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001076/0.001076, allocations: 86.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.466e-05/2.469e-05, allocations: 4 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09428/0.09432, allocations: 47.58 MB / 369.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4021/0.4965, allocations: 82.77 MB / 451.9 MB, free: 10.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.4968, allocations: 84.25 kB / 451.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06897/0.5658, allocations: 18.03 MB / 470 MB, free: 10.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5659, allocations: 0 / 470 MB, free: 10.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.081e-05/0.5659, allocations: 8 kB / 470 MB, free: 10.16 MB / 346.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.002755/0.5687, allocations: 0.8349 MB / 470.8 MB, free: 9.273 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.5687, allocations: 8.031 kB / 470.8 MB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004479/0.5732, allocations: 454.8 kB / 471.3 MB, free: 8.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007318/0.574, allocations: 364.1 kB / 471.6 MB, free: 8.426 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.17e-05/0.5741, allocations: 58 kB / 471.7 MB, free: 8.367 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.5743, allocations: 67.94 kB / 471.7 MB, free: 8.301 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002048/0.5763, allocations: 0.7823 MB / 472.5 MB, free: 7.508 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.5764, allocations: 0 / 472.5 MB, free: 7.508 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/0.5765, allocations: 28 kB / 472.6 MB, free: 7.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.645e-05/0.5765, allocations: 16 kB / 472.6 MB, free: 7.465 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00212/0.5787, allocations: 0.8084 MB / 473.4 MB, free: 6.652 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006496/0.5852, allocations: 2.79 MB / 476.2 MB, free: 3.684 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002756/0.588, allocations: 1.976 MB / 478.1 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006411/0.5887, allocations: 251 kB / 478.4 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/0.5888, allocations: 85.94 kB / 478.5 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.5889, allocations: 38.98 kB / 478.5 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of pre-optimization done (n=52): time 3.566e-06/0.5889, allocations: 0 / 478.5 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of matching and sorting (n=52): time 0.001536/0.5904, allocations: 0.5238 MB / 479 MB, free: 460 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.5905, allocations: 85.55 kB / 479.1 MB, free: 352 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004325/0.591, allocations: 267.3 kB / 479.4 MB, free: 80 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.071e-05/0.591, allocations: 37.64 kB / 479.4 MB, free: 36 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/0.5913, allocations: 346.1 kB / 479.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.5915, allocations: 177.5 kB / 479.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/0.5916, allocations: 8 kB / 479.9 MB, free: 15.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.5917, allocations: 342.8 kB / 480.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005353/0.5923, allocations: 205.5 kB / 480.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007123/0.593, allocations: 400.6 kB / 480.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006284/0.5936, allocations: 244.1 kB / 481.1 MB, free: 14.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.892e-06/0.5937, allocations: 4 kB / 481.1 MB, free: 14.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001828/0.5955, allocations: 0.6891 MB / 481.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009434/0.5965, allocations: 2.437 MB / 484.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.5965, allocations: 4 kB / 484.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003852/0.5969, allocations: 60.83 kB / 484.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.598, allocations: 147.7 kB / 484.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/0.6, allocations: 1.596 MB / 486 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008083/0.6008, allocations: 87.31 kB / 486.1 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.815e-05/0.6009, allocations: 35.94 kB / 486.2 MB, free: 8.848 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.601, allocations: 7.938 kB / 486.2 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001725/0.6027, allocations: 0.6406 MB / 486.8 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.6027, allocations: 4.812 kB / 486.8 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002329/0.603, allocations: 56.84 kB / 486.9 MB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009585/0.6039, allocations: 139.7 kB / 487 MB, free: 7.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/0.6057, allocations: 1.509 MB / 488.5 MB, free: 6.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006366/0.6063, allocations: 55.44 kB / 488.6 MB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.134e-05/0.6064, allocations: 35.98 kB / 488.6 MB, free: 6.27 MB / 362.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 () * 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.0002462/0.6067, allocations: 148.8 kB / 488.7 MB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.6068, allocations: 35.62 kB / 488.8 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/0.6086, allocations: 0.6161 MB / 489.4 MB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.6086, allocations: 8 kB / 489.4 MB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.6086, allocations: 3.953 kB / 489.4 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.6087, allocations: 3.984 kB / 489.4 MB, free: 5.441 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002958/0.6116, allocations: 1.323 MB / 490.7 MB, free: 4.055 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.6117, allocations: 4 kB / 490.7 MB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008217/0.6125, allocations: 99.86 kB / 490.8 MB, free: 3.953 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002983/0.6128, allocations: 48.83 kB / 490.9 MB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.785e-05/0.6129, allocations: 16 kB / 490.9 MB, free: 3.887 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.6147, allocations: 1.589 MB / 492.5 MB, free: 2.164 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6148, allocations: 0 / 492.5 MB, free: 2.164 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/0.617, allocations: 0.9393 MB / 493.4 MB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000268/0.6173, allocations: 152.6 kB / 493.6 MB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.599e-05/0.6174, allocations: 12 kB / 493.6 MB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005449/0.618, allocations: 32.11 kB / 493.6 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.6181, allocations: 48.25 kB / 493.7 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/0.6182, allocations: 15.98 kB / 493.7 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003265/0.6185, allocations: 207.1 kB / 493.9 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6186, allocations: 0 / 493.9 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001388/0.62, allocations: 299 kB / 494.2 MB, free: 444 kB / 362.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 () * 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.0003183/0.6203, allocations: 143.2 kB / 494.3 MB, free: 288 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002678/0.623, allocations: 1.123 MB / 495.4 MB, free: 15.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.623, allocations: 4 kB / 495.4 MB, free: 15.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008479/0.6239, allocations: 397 kB / 495.8 MB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004745/0.6244, allocations: 37.52 kB / 495.9 MB, free: 14.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004848/0.6292, allocations: 1.304 MB / 497.2 MB, free: 13.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.6297, allocations: 0.8533 MB / 498 MB, free: 12.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003607/0.6301, allocations: 63.41 kB / 498.1 MB, free: 12.42 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6301, allocations: 0 / 498.1 MB, free: 12.42 MB / 378.7 MB Notification: Performance of Templates: time 0.01833/0.6485, allocations: 8.67 MB / 0.4949 GB, free: 3.75 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