Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001657/0.001657, allocations: 202.4 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 229.5 MB / 247.7 MB, free: 6.316 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007368/0.0007369, allocations: 96 kB / 299.8 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002451/0.0002454, allocations: 8 kB / 360.6 MB, free: 8.453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1895, allocations: 51.41 MB / 412.1 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.002878/0.1924, allocations: 3.395 MB / 415.4 MB, free: 22.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002187/0.1946, allocations: 2.598 MB / 418 MB, free: 19.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002118/0.1949, allocations: 12 kB / 418.1 MB, free: 19.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000385/0.1953, allocations: 175.2 kB / 418.2 MB, free: 19.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007157/0.196, allocations: 487.2 kB / 418.7 MB, free: 18.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.1971, allocations: 1.249 MB / 420 MB, free: 17.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003937/0.1975, allocations: 0.498 MB / 420.5 MB, free: 17.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/0.1986, allocations: 1.236 MB / 421.7 MB, free: 15.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.1988, allocations: 199.1 kB / 421.9 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.199, allocations: 242.9 kB / 422.1 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.935e-05/0.1991, allocations: 24 kB / 422.1 MB, free: 15.19 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003328/0.1994, allocations: 219.8 kB / 422.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.129e-05/0.1995, allocations: 87.55 kB / 422.4 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.1996, allocations: 252.4 kB / 422.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005805/0.2002, allocations: 0.7645 MB / 423.5 MB, free: 13.87 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2002, allocations: 0 / 423.5 MB, free: 13.87 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2002, allocations: 0 / 423.5 MB, free: 13.87 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.2002, allocations: 0 / 423.5 MB, free: 13.87 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001763/0.202, allocations: 0.8895 MB / 424.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.202, allocations: 8.031 kB / 424.4 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002601/0.2047, allocations: 415.9 kB / 424.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.2051, allocations: 359.9 kB / 425.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.2051, allocations: 41.69 kB / 425.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.98e-05/0.2052, allocations: 67.92 kB / 425.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.2062, allocations: 0.7018 MB / 425.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.2063, allocations: 0 / 425.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.604e-05/0.2063, allocations: 28 kB / 425.9 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.2064, allocations: 25.25 kB / 426 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.2074, allocations: 0.7001 MB / 426.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002674/0.2101, allocations: 2.441 MB / 429.1 MB, free: 7.957 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.2112, allocations: 1.191 MB / 430.3 MB, free: 6.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003609/0.2116, allocations: 240.7 kB / 430.5 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.895e-05/0.2117, allocations: 178.4 kB / 430.7 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.2117, allocations: 38.55 kB / 430.7 MB, free: 6.094 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 2.194e-06/0.2117, allocations: 0 / 430.7 MB, free: 6.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.001596/0.2133, allocations: 0.8151 MB / 431.6 MB, free: 5.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.2134, allocations: 55.41 kB / 431.6 MB, free: 5.184 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.2136, allocations: 274.5 kB / 431.9 MB, free: 4.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.2136, allocations: 37.7 kB / 431.9 MB, free: 4.867 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.688e-05/0.2137, allocations: 240.4 kB / 432.2 MB, free: 4.625 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.281e-05/0.2138, allocations: 153.8 kB / 432.3 MB, free: 4.473 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.2139, allocations: 8 kB / 432.3 MB, free: 4.465 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.448e-05/0.2139, allocations: 342.8 kB / 432.7 MB, free: 4.121 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/0.2143, allocations: 193 kB / 432.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/0.2147, allocations: 306.3 kB / 433.1 MB, free: 3.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006955/0.2154, allocations: 0.5007 MB / 433.6 MB, free: 3.043 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2154, allocations: 4 kB / 433.6 MB, free: 3.039 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001016/0.2164, allocations: 0.6065 MB / 434.2 MB, free: 2.422 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.233e-05/0.2165, allocations: 193.4 kB / 434.4 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.2165, allocations: 7.938 kB / 434.4 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002212/0.2167, allocations: 56.83 kB / 434.5 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000406/0.2171, allocations: 111.8 kB / 434.6 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/0.2182, allocations: 1.584 MB / 436.2 MB, free: 292 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.2185, allocations: 55.44 kB / 436.2 MB, free: 236 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.2185, allocations: 27.92 kB / 436.3 MB, free: 208 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.819e-06/0.2185, allocations: 4 kB / 436.3 MB, free: 204 kB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009678/0.2195, allocations: 0.547 MB / 436.8 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.2195, allocations: 4 kB / 436.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001439/0.2197, allocations: 52.95 kB / 436.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/0.2201, allocations: 107.8 kB / 437 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/0.2213, allocations: 1.511 MB / 438.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.2216, allocations: 55.58 kB / 438.6 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/0.2216, allocations: 24 kB / 438.6 MB, free: 13.76 MB / 314.7 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.0002466/0.2219, allocations: 248.9 kB / 438.8 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.407e-05/0.2219, allocations: 39.55 kB / 438.9 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.2231, allocations: 0.5942 MB / 439.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.2231, allocations: 8 kB / 439.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2232, allocations: 0 / 439.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.2232, allocations: 3.938 kB / 439.5 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/0.225, allocations: 1.237 MB / 440.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.225, allocations: 0 / 440.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003732/0.2253, allocations: 87.89 kB / 440.8 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001568/0.2255, allocations: 52.95 kB / 440.8 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/0.2256, allocations: 19.98 kB / 440.9 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001205/0.2268, allocations: 1.582 MB / 442.4 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2268, allocations: 4.188 kB / 442.4 MB, free: 9.672 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.2283, allocations: 0.8936 MB / 443.3 MB, free: 8.762 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.2284, allocations: 144.6 kB / 443.5 MB, free: 8.602 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.711e-05/0.2285, allocations: 12.06 kB / 443.5 MB, free: 8.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.2288, allocations: 27.92 kB / 443.5 MB, free: 8.562 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.561e-05/0.2289, allocations: 36.38 kB / 443.6 MB, free: 8.527 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.2289, allocations: 12 kB / 443.6 MB, free: 8.516 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001953/0.2291, allocations: 194 kB / 443.8 MB, free: 8.328 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2291, allocations: 0 / 443.8 MB, free: 8.328 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008673/0.23, allocations: 247.1 kB / 444 MB, free: 8.086 MB / 314.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 (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.0002733/0.2303, allocations: 147.3 kB / 444.1 MB, free: 7.934 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001814/0.2321, allocations: 1.032 MB / 445.2 MB, free: 6.875 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2321, allocations: 0.9375 kB / 445.2 MB, free: 6.875 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005827/0.2327, allocations: 385.1 kB / 445.5 MB, free: 6.484 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.2331, allocations: 40.55 kB / 445.6 MB, free: 6.445 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.2347, allocations: 1.159 MB / 446.7 MB, free: 5.262 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.235, allocations: 0.8252 MB / 447.6 MB, free: 4.414 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001282/0.2363, allocations: 1.075 MB / 448.6 MB, free: 3.332 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.2365, allocations: 47.36 kB / 448.7 MB, free: 3.285 MB / 314.7 MB Notification: Performance of SimCode: time 2.61e-07/0.2365, allocations: 0 / 448.7 MB, free: 3.285 MB / 314.7 MB Notification: Performance of Templates: time 0.00911/0.2456, allocations: 5.116 MB / 453.8 MB, free: 14.17 MB / 330.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches