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.001925/0.001926, allocations: 108.5 kB / 17.16 MB, free: 6.328 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.002097/0.002097, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.5/2.5, allocations: 222.9 MB / 241.8 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 46.2 kB / 300.6 MB, free: 6.246 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1766, allocations: 49.46 MB / 350.1 MB, free: 4.785 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.009148/0.1858, allocations: 3.956 MB / 354 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004993/0.1909, allocations: 1.558 MB / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005259/0.1915, allocations: 12 kB / 355.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00273/0.1943, allocations: 0.7334 MB / 356.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002056/0.1964, allocations: 485 kB / 356.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.1982, allocations: 0.518 MB / 357.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001106/0.1993, allocations: 0.498 MB / 357.8 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.2005, allocations: 442.5 kB / 358.2 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004965/0.2011, allocations: 227.1 kB / 358.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000479/0.2015, allocations: 290.8 kB / 358.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.2017, allocations: 36 kB / 358.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008718/0.2026, allocations: 219.8 kB / 359 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.2027, allocations: 115.5 kB / 359.1 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003824/0.2031, allocations: 262.6 kB / 359.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.2043, allocations: 0.6079 MB / 360 MB, free: 10.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.2043, allocations: 0 / 360 MB, free: 10.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2043, allocations: 0 / 360 MB, free: 10.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.2043, allocations: 4 kB / 360 MB, free: 10.82 MB / 302.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.004004/0.2084, allocations: 0.987 MB / 361 MB, free: 9.781 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.2084, allocations: 8.031 kB / 361 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005255/0.2137, allocations: 403.9 kB / 361.4 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.2149, allocations: 353.3 kB / 361.7 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.687e-05/0.215, allocations: 49.69 kB / 361.8 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.2152, allocations: 59.94 kB / 361.8 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/0.2173, allocations: 0.6979 MB / 362.5 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.392e-05/0.2174, allocations: 4 kB / 362.5 MB, free: 8.176 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.464e-05/0.2175, allocations: 20 kB / 362.5 MB, free: 8.156 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-05/0.2176, allocations: 29.25 kB / 362.6 MB, free: 8.125 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/0.2199, allocations: 0.6923 MB / 363.3 MB, free: 7.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005086/0.2251, allocations: 2.355 MB / 365.6 MB, free: 4.938 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.2268, allocations: 1.188 MB / 366.8 MB, free: 3.574 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000528/0.2273, allocations: 236 kB / 367 MB, free: 3.344 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001507/0.2275, allocations: 97.33 kB / 367.1 MB, free: 3.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/0.2276, allocations: 46.5 kB / 367.2 MB, free: 3.176 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 3.106e-06/0.2276, allocations: 0 / 367.2 MB, free: 3.176 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.002416/0.23, allocations: 0.8034 MB / 368 MB, free: 2.344 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/0.2301, allocations: 55.41 kB / 368 MB, free: 2.277 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003741/0.2305, allocations: 270.5 kB / 368.3 MB, free: 2.012 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/0.2305, allocations: 37.7 kB / 368.3 MB, free: 1.969 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.2307, allocations: 244.3 kB / 368.6 MB, free: 1.723 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.2309, allocations: 153.7 kB / 368.7 MB, free: 1.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.2311, allocations: 94.23 kB / 368.8 MB, free: 1.473 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.2313, allocations: 342.8 kB / 369.2 MB, free: 1.129 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005081/0.2318, allocations: 191 kB / 369.3 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008046/0.2326, allocations: 306.3 kB / 369.6 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00099/0.2336, allocations: 0.489 MB / 370.1 MB, free: 60 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.2336, allocations: 4 kB / 370.1 MB, free: 56 kB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.2673/0.5009, allocations: 0.5921 MB / 370.7 MB, free: 25.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/0.501, allocations: 6.719 kB / 370.7 MB, free: 25.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.5011, allocations: 3.312 kB / 370.7 MB, free: 25.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000454/0.5015, allocations: 58.2 kB / 370.8 MB, free: 25.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009416/0.5025, allocations: 110.2 kB / 370.9 MB, free: 25.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.5047, allocations: 1.586 MB / 372.5 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007022/0.5054, allocations: 57.81 kB / 372.5 MB, free: 23.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.752e-05/0.5055, allocations: 25.66 kB / 372.6 MB, free: 23.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00104/0.5066, allocations: 308.4 kB / 372.9 MB, free: 23.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007807/0.5074, allocations: 294.8 kB / 373.2 MB, free: 23.74 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001396/0.5088, allocations: 0.4884 MB / 373.6 MB, free: 23.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.04e-06/0.5088, allocations: 1.312 kB / 373.6 MB, free: 23.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.002205/0.511, allocations: 0.5907 MB / 374.2 MB, free: 23.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.5111, allocations: 7.156 kB / 374.2 MB, free: 23.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.5111, allocations: 2.906 kB / 374.2 MB, free: 23.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003478/0.5115, allocations: 60.5 kB / 374.3 MB, free: 23.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000728/0.5122, allocations: 105.1 kB / 374.4 MB, free: 23.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.5141, allocations: 1.594 MB / 376 MB, free: 21.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005808/0.5148, allocations: 39.55 kB / 376 MB, free: 21.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.875e-05/0.5149, allocations: 32.97 kB / 376.1 MB, free: 21.73 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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.0003142/0.5152, allocations: 205.8 kB / 376.3 MB, free: 21.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.5153, allocations: 35.08 kB / 376.3 MB, free: 21.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00233/0.5177, allocations: 0.5865 MB / 376.9 MB, free: 21.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.5177, allocations: 5.5 kB / 376.9 MB, free: 21.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.5177, allocations: 2.172 kB / 376.9 MB, free: 21.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.5178, allocations: 3.469 kB / 376.9 MB, free: 21.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003357/0.5211, allocations: 1.236 MB / 378.1 MB, free: 20.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.5212, allocations: 1.344 kB / 378.1 MB, free: 20.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005375/0.5217, allocations: 90.61 kB / 378.2 MB, free: 20.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003004/0.522, allocations: 52.55 kB / 378.3 MB, free: 20.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.923e-05/0.5221, allocations: 9.531 kB / 378.3 MB, free: 20.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/0.5242, allocations: 1.587 MB / 379.9 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.5242, allocations: 1.75 kB / 379.9 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002823/0.527, allocations: 0.8923 MB / 380.8 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002605/0.5273, allocations: 137.9 kB / 380.9 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.049e-05/0.5274, allocations: 12.69 kB / 380.9 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004827/0.5279, allocations: 20.86 kB / 380.9 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/0.5281, allocations: 36.39 kB / 381 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-05/0.5282, allocations: 20.86 kB / 381 MB, free: 18.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003613/0.5285, allocations: 196.7 kB / 381.2 MB, free: 18.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5286, allocations: 1.25 kB / 381.2 MB, free: 18.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0019/0.5305, allocations: 239.5 kB / 381.4 MB, free: 18.2 MB / 302.1 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 (42): * Single equations (assignments): 41 * 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 Backend phase and start with SimCode phase: time 0.0003769/0.5309, allocations: 141.7 kB / 381.6 MB, free: 18.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003442/0.5343, allocations: 1.01 MB / 382.6 MB, free: 17.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.5344, allocations: 4.062 kB / 382.6 MB, free: 17.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.5355, allocations: 380.1 kB / 382.9 MB, free: 17.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000883/0.5364, allocations: 40.08 kB / 383 MB, free: 17.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.5395, allocations: 1.139 MB / 384.1 MB, free: 16.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000617/0.5402, allocations: 0.8258 MB / 384.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004054/0.5406, allocations: 52.83 kB / 385 MB, free: 15.87 MB / 302.1 MB Notification: Performance of SimCode: time 2.766e-06/0.5406, allocations: 0 / 385 MB, free: 15.87 MB / 302.1 MB Notification: Performance of Templates: time 0.02449/0.5651, allocations: 8.07 MB / 393.1 MB, free: 13.16 MB / 302.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