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.000815/0.000815, allocations: 172.8 kB / 16.72 MB, free: 4.934 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.322/1.322, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0007505/0.0007505, allocations: 93.34 kB / 271.2 MB, free: 8.23 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.0003079, allocations: 8 kB / 327.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2388, allocations: 47.57 MB / 375.1 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.004016/0.2429, allocations: 3.493 MB / 378.6 MB, free: 42.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.2452, allocations: 1.507 MB / 380.1 MB, free: 41.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002211/0.2454, allocations: 11.28 kB / 380.1 MB, free: 41.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003883/0.2458, allocations: 141.1 kB / 380.2 MB, free: 41.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000963/0.2468, allocations: 483.7 kB / 380.7 MB, free: 40.99 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007524/0.2476, allocations: 439.3 kB / 381.1 MB, free: 40.67 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005013/0.2481, allocations: 0.525 MB / 381.7 MB, free: 40.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.2492, allocations: 0.7836 MB / 382.5 MB, free: 39.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.2495, allocations: 208 kB / 382.7 MB, free: 39.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/0.2497, allocations: 269 kB / 382.9 MB, free: 39.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.061e-05/0.2498, allocations: 24.25 kB / 382.9 MB, free: 39.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000385/0.2502, allocations: 209.9 kB / 383.1 MB, free: 39.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.514e-05/0.2503, allocations: 102.9 kB / 383.2 MB, free: 39.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.2505, allocations: 265.5 kB / 383.5 MB, free: 39.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004885/0.251, allocations: 0.6246 MB / 384.1 MB, free: 38.67 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.251, allocations: 0 / 384.1 MB, free: 38.67 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.251, allocations: 0 / 384.1 MB, free: 38.67 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.251, allocations: 1.281 kB / 384.1 MB, free: 38.67 MB / 298.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.001916/0.2529, allocations: 0.9284 MB / 385.1 MB, free: 37.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.253, allocations: 13.08 kB / 385.1 MB, free: 37.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004033/0.257, allocations: 0.6098 MB / 385.7 MB, free: 37.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005069/0.2575, allocations: 382.6 kB / 386.1 MB, free: 37.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.023e-05/0.2576, allocations: 53 kB / 386.1 MB, free: 37.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.2577, allocations: 63.75 kB / 386.2 MB, free: 37.28 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.259, allocations: 0.812 MB / 387 MB, free: 36.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.259, allocations: 3.906 kB / 387 MB, free: 36.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.339e-05/0.2591, allocations: 24 kB / 387 MB, free: 36.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.2591, allocations: 29.98 kB / 387 MB, free: 36.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.2603, allocations: 0.8433 MB / 387.9 MB, free: 35.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00302/0.2634, allocations: 2.72 MB / 390.6 MB, free: 32.87 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.2647, allocations: 1.973 MB / 392.6 MB, free: 30.56 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003676/0.265, allocations: 258.1 kB / 392.8 MB, free: 30.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.168e-05/0.2651, allocations: 93.83 kB / 392.9 MB, free: 30.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.2651, allocations: 39 kB / 393 MB, free: 30.15 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 2.164e-06/0.2652, allocations: 0 / 393 MB, free: 30.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.001551/0.2667, allocations: 0.8441 MB / 393.8 MB, free: 29.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.2667, allocations: 63.72 kB / 393.9 MB, free: 29.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.267, allocations: 304.5 kB / 394.2 MB, free: 28.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.267, allocations: 33.7 kB / 394.2 MB, free: 28.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.2671, allocations: 291.7 kB / 394.5 MB, free: 28.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.303e-05/0.2672, allocations: 169.6 kB / 394.6 MB, free: 28.4 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.2673, allocations: 8 kB / 394.7 MB, free: 28.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.952e-05/0.2673, allocations: 346.8 kB / 395 MB, free: 28.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003474/0.2677, allocations: 205.2 kB / 395.2 MB, free: 27.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003936/0.2681, allocations: 394.3 kB / 395.6 MB, free: 27.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007601/0.2688, allocations: 0.6273 MB / 396.2 MB, free: 26.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2689, allocations: 0 / 396.2 MB, free: 26.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001112/0.27, allocations: 0.7081 MB / 396.9 MB, free: 25.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.2701, allocations: 271.6 kB / 397.2 MB, free: 25.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.2701, allocations: 8 kB / 397.2 MB, free: 25.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002263/0.2703, allocations: 52.83 kB / 397.2 MB, free: 25.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/0.2708, allocations: 143.8 kB / 397.4 MB, free: 25.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.2719, allocations: 1.596 MB / 399 MB, free: 23.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003586/0.2722, allocations: 75.22 kB / 399 MB, free: 23.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.387e-05/0.2723, allocations: 31.98 kB / 399.1 MB, free: 23.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.01e-06/0.2723, allocations: 7.938 kB / 399.1 MB, free: 23.55 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009553/0.2733, allocations: 0.6484 MB / 399.7 MB, free: 22.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2733, allocations: 11.98 kB / 399.7 MB, free: 22.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001263/0.2734, allocations: 48.83 kB / 399.8 MB, free: 22.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004367/0.2739, allocations: 144.2 kB / 399.9 MB, free: 22.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008283/0.2747, allocations: 1.511 MB / 401.4 MB, free: 21.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.275, allocations: 67.3 kB / 401.5 MB, free: 20.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.023e-05/0.2751, allocations: 35.98 kB / 401.5 MB, free: 20.95 MB / 298.7 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 (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.0002367/0.2753, allocations: 256.9 kB / 401.8 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.218e-05/0.2754, allocations: 35.62 kB / 401.8 MB, free: 20.65 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.2764, allocations: 0.6258 MB / 402.5 MB, free: 20.01 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2765, allocations: 4 kB / 402.5 MB, free: 20 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2765, allocations: 4 kB / 402.5 MB, free: 20 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.2765, allocations: 0 / 402.5 MB, free: 20 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.278, allocations: 1.301 MB / 403.8 MB, free: 18.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2781, allocations: 0 / 403.8 MB, free: 18.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003511/0.2784, allocations: 95.88 kB / 403.9 MB, free: 18.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000143/0.2786, allocations: 52.83 kB / 403.9 MB, free: 18.49 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.2786, allocations: 12 kB / 403.9 MB, free: 18.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008856/0.2795, allocations: 1.588 MB / 405.5 MB, free: 16.76 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2795, allocations: 0 / 405.5 MB, free: 16.76 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.2808, allocations: 0.9326 MB / 406.4 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.2809, allocations: 152.5 kB / 406.6 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.96e-05/0.281, allocations: 12 kB / 406.6 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.2812, allocations: 23.98 kB / 406.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.984e-05/0.2813, allocations: 40.31 kB / 406.7 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.2814, allocations: 16 kB / 406.7 MB, free: 15.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001538/0.2815, allocations: 215.1 kB / 406.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2815, allocations: 0 / 406.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008657/0.2824, allocations: 271.1 kB / 407.2 MB, free: 15.08 MB / 298.7 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 (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.0001879/0.2826, allocations: 143 kB / 407.3 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.2841, allocations: 1.131 MB / 408.4 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2841, allocations: 0 / 408.4 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004671/0.2846, allocations: 389.7 kB / 408.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.285, allocations: 51.89 kB / 408.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.2865, allocations: 1.273 MB / 410.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.2867, allocations: 0.8408 MB / 411 MB, free: 11.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.2869, allocations: 55.41 kB / 411 MB, free: 11.1 MB / 298.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2869, allocations: 4 kB / 411 MB, free: 11.1 MB / 298.7 MB Notification: Performance of Templates: time 0.008278/0.2952, allocations: 8.762 MB / 419.8 MB, free: 2.336 MB / 298.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/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_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches