Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStatic.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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00108/0.00108, allocations: 114.2 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001188/0.001188, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 67.88 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2317, allocations: 50.54 MB / 409.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005368/0.2371, allocations: 3.956 MB / 413.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003014/0.2402, allocations: 1.623 MB / 415.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002642/0.2405, allocations: 8 kB / 415.5 MB, free: 12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001832/0.2423, allocations: 0.7739 MB / 416.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008714/0.2432, allocations: 381.3 kB / 416.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.2445, allocations: 0.6652 MB / 417.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006818/0.2452, allocations: 0.5331 MB / 417.9 MB, free: 9.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007239/0.2459, allocations: 0.4998 MB / 418.4 MB, free: 9.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003034/0.2463, allocations: 239.1 kB / 418.6 MB, free: 8.918 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.2466, allocations: 294.8 kB / 418.9 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.219e-05/0.2467, allocations: 52 kB / 418.9 MB, free: 8.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004399/0.2471, allocations: 251.8 kB / 419.2 MB, free: 8.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.962e-05/0.2472, allocations: 119.6 kB / 419.3 MB, free: 8.215 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002142/0.2474, allocations: 266.7 kB / 419.6 MB, free: 7.953 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008616/0.2483, allocations: 0.8073 MB / 420.4 MB, free: 7.145 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2483, allocations: 7.922 kB / 420.4 MB, free: 7.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2483, allocations: 0 / 420.4 MB, free: 7.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.2483, allocations: 0 / 420.4 MB, free: 7.137 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002073/0.2504, allocations: 0.9559 MB / 421.3 MB, free: 6.129 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.2505, allocations: 8.031 kB / 421.3 MB, free: 6.121 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002892/0.2534, allocations: 407.9 kB / 421.7 MB, free: 5.723 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006318/0.254, allocations: 361.3 kB / 422.1 MB, free: 5.332 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.296e-05/0.2541, allocations: 49.69 kB / 422.1 MB, free: 5.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.379e-05/0.2542, allocations: 59.94 kB / 422.2 MB, free: 5.227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.2552, allocations: 0.6237 MB / 422.8 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/0.2553, allocations: 7.906 kB / 422.8 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.815e-05/0.2553, allocations: 27.94 kB / 422.9 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.2554, allocations: 16 kB / 422.9 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.2565, allocations: 0.5712 MB / 423.4 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002999/0.2595, allocations: 2.233 MB / 425.7 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.2612, allocations: 1.181 MB / 426.9 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003648/0.2615, allocations: 196.5 kB / 427 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002082/0.2618, allocations: 174.5 kB / 427.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.2618, allocations: 38.56 kB / 427.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.094e-06/0.2618, allocations: 0 / 427.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001609/0.2634, allocations: 0.6824 MB / 427.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.2635, allocations: 55.41 kB / 428 MB, free: 14.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.2637, allocations: 270.6 kB / 428.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.2638, allocations: 37.64 kB / 428.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.2639, allocations: 252.2 kB / 428.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.2641, allocations: 145.8 kB / 428.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.2642, allocations: 94.14 kB / 428.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.2643, allocations: 338.8 kB / 429.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/0.2647, allocations: 159 kB / 429.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003855/0.2651, allocations: 253.9 kB / 429.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007445/0.2658, allocations: 437.7 kB / 429.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2658, allocations: 0 / 429.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001026/0.2669, allocations: 0.5179 MB / 430.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.2669, allocations: 7.984 kB / 430.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.2669, allocations: 4 kB / 430.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002425/0.2672, allocations: 65.14 kB / 430.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004197/0.2676, allocations: 91.89 kB / 430.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/0.2691, allocations: 1.759 MB / 432.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/0.2695, allocations: 63.36 kB / 432.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.2695, allocations: 16 kB / 432.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000414/0.2699, allocations: 277.1 kB / 432.7 MB, free: 9.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003603/0.2703, allocations: 245.6 kB / 433 MB, free: 9.695 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006905/0.271, allocations: 419.7 kB / 433.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.793e-06/0.271, allocations: 0 / 433.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.000963/0.272, allocations: 0.5087 MB / 433.9 MB, free: 8.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.272, allocations: 11.94 kB / 433.9 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/0.272, allocations: 4 kB / 433.9 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000172/0.2722, allocations: 57.17 kB / 434 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/0.2726, allocations: 95.89 kB / 434 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.2741, allocations: 1.775 MB / 435.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.2744, allocations: 39.67 kB / 435.9 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.2744, allocations: 16 kB / 435.9 MB, free: 6.582 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001485/0.2746, allocations: 208.2 kB / 436.1 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.857e-05/0.2747, allocations: 31.62 kB / 436.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.2758, allocations: 0.5044 MB / 436.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.2758, allocations: 3.984 kB / 436.6 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2758, allocations: 0 / 436.6 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.2759, allocations: 148.6 kB / 436.8 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.218e-05/0.276, allocations: 11.94 kB / 436.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/0.2763, allocations: 27.86 kB / 436.8 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/0.2763, allocations: 28.39 kB / 436.8 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001117/0.2775, allocations: 0.5199 MB / 437.4 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001142/0.2786, allocations: 0.7358 MB / 438.1 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003193/0.279, allocations: 171.3 kB / 438.3 MB, free: 4.141 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001708/0.2791, allocations: 194 kB / 438.4 MB, free: 3.953 MB / 350.1 MB Notification: Performance of Backend: time 5.41e-07/0.2791, allocations: 4 kB / 438.4 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001841/0.281, allocations: 0.9117 MB / 439.4 MB, free: 3.008 MB / 350.1 MB Notification: Performance of SimCode: time 0.001386/0.2824, allocations: 1.24 MB / 440.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of Templates: time 0.0135/0.2959, allocations: 8.549 MB / 449.1 MB, free: 9.18 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches