Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 112.7 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 183 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009611/0.0009612, allocations: 47.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2206, allocations: 49.42 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.004801/0.2254, allocations: 3.949 MB / 405.4 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.2276, allocations: 1.573 MB / 406.9 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.2278, allocations: 12 kB / 406.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001655/0.2295, allocations: 0.7778 MB / 407.7 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009647/0.2305, allocations: 0.5267 MB / 408.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009279/0.2314, allocations: 0.5446 MB / 408.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005239/0.2319, allocations: 0.5253 MB / 409.3 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006639/0.2326, allocations: 0.4971 MB / 409.8 MB, free: 448 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.2329, allocations: 239.1 kB / 410 MB, free: 208 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002971/0.2332, allocations: 294.8 kB / 410.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.784e-05/0.2333, allocations: 52 kB / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000374/0.2337, allocations: 243.8 kB / 410.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.198e-05/0.2338, allocations: 123.6 kB / 410.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.234, allocations: 270.6 kB / 411 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007452/0.2347, allocations: 0.7866 MB / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2347, allocations: 0 / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2347, allocations: 3.938 kB / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.2348, allocations: 0 / 411.8 MB, free: 14.45 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.002061/0.2368, allocations: 0.9598 MB / 412.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.2369, allocations: 8.031 kB / 412.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002886/0.2398, allocations: 399.9 kB / 413.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004985/0.2403, allocations: 363 kB / 413.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.089e-05/0.2403, allocations: 45.69 kB / 413.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.637e-05/0.2404, allocations: 63.94 kB / 413.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.2415, allocations: 0.6275 MB / 414.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.2415, allocations: 3.906 kB / 414.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.807e-05/0.2416, allocations: 32 kB / 414.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.2416, allocations: 12 kB / 414.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.2427, allocations: 0.5712 MB / 414.9 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002926/0.2456, allocations: 2.161 MB / 417 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.2471, allocations: 1.187 MB / 418.2 MB, free: 7.609 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003606/0.2475, allocations: 188.8 kB / 418.4 MB, free: 7.422 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.92e-05/0.2476, allocations: 89.11 kB / 418.5 MB, free: 7.316 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.2476, allocations: 42.55 kB / 418.5 MB, free: 7.266 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 1.904e-06/0.2476, allocations: 0 / 418.5 MB, free: 7.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.001608/0.2492, allocations: 0.6824 MB / 419.2 MB, free: 6.555 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.2492, allocations: 55.41 kB / 419.3 MB, free: 6.488 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.2495, allocations: 270.6 kB / 419.5 MB, free: 6.223 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.2495, allocations: 29.7 kB / 419.6 MB, free: 6.188 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.2497, allocations: 260.5 kB / 419.8 MB, free: 5.926 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.548e-05/0.2498, allocations: 145.9 kB / 420 MB, free: 5.781 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.2499, allocations: 90.14 kB / 420 MB, free: 5.684 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.25, allocations: 338.8 kB / 420.4 MB, free: 5.344 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.2504, allocations: 155 kB / 420.5 MB, free: 5.191 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003891/0.2508, allocations: 257.9 kB / 420.8 MB, free: 4.891 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007354/0.2515, allocations: 429.8 kB / 421.2 MB, free: 4.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2515, allocations: 0 / 421.2 MB, free: 4.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001017/0.2526, allocations: 0.5254 MB / 421.7 MB, free: 3.895 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.2526, allocations: 8.344 kB / 421.7 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.2526, allocations: 8 kB / 421.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002327/0.2528, allocations: 60.83 kB / 421.8 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/0.2533, allocations: 99.81 kB / 421.9 MB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.2547, allocations: 1.759 MB / 423.7 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003066/0.255, allocations: 63.48 kB / 423.7 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.2551, allocations: 24.06 kB / 423.7 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004115/0.2555, allocations: 273.1 kB / 424 MB, free: 1.469 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003483/0.2558, allocations: 249.5 kB / 424.2 MB, free: 1.184 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006612/0.2565, allocations: 419.8 kB / 424.7 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.166e-06/0.2565, allocations: 8 kB / 424.7 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0009328/0.2575, allocations: 0.5091 MB / 425.2 MB, free: 208 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.2575, allocations: 7.938 kB / 425.2 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.2575, allocations: 4 kB / 425.2 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/0.2577, allocations: 52.83 kB / 425.2 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.2581, allocations: 99.81 kB / 425.3 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.2594, allocations: 1.763 MB / 427.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.2597, allocations: 43.73 kB / 427.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.2597, allocations: 16 kB / 427.2 MB, free: 14.08 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.0001392/0.2599, allocations: 216.1 kB / 427.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/0.26, allocations: 31.62 kB / 427.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.261, allocations: 0.4965 MB / 427.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/0.2611, allocations: 12.02 kB / 427.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2611, allocations: 0 / 427.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.2612, allocations: 144.7 kB / 428 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.165e-05/0.2613, allocations: 23.94 kB / 428.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.2615, allocations: 15.98 kB / 428.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.922e-05/0.2616, allocations: 32.39 kB / 428.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001169/0.2628, allocations: 0.5238 MB / 428.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001148/0.264, allocations: 0.728 MB / 429.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003302/0.2643, allocations: 175.3 kB / 429.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001663/0.2645, allocations: 198 kB / 429.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Backend: time 4.31e-07/0.2645, allocations: 0 / 429.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001784/0.2663, allocations: 0.9143 MB / 430.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of SimCode: time 0.001323/0.2676, allocations: 1.256 MB / 431.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of Templates: time 0.01379/0.2814, allocations: 8.564 MB / 440.5 MB, free: 0.625 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches