Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009783/0.0009782, allocations: 196.3 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 229.5 MB / 247.7 MB, free: 6.32 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007496/0.0007496, allocations: 100.3 kB / 299.9 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002247/0.0002247, allocations: 8 kB / 360.6 MB, free: 8.461 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1881, allocations: 51.41 MB / 412.1 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.00275/0.1909, allocations: 3.155 MB / 415.2 MB, free: 22.72 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.1929, allocations: 2.398 MB / 417.6 MB, free: 20.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002981/0.1933, allocations: 11.94 kB / 417.6 MB, free: 20.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005164/0.1938, allocations: 159.4 kB / 417.8 MB, free: 19.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009575/0.1948, allocations: 499.4 kB / 418.3 MB, free: 19.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009019/0.1957, allocations: 1.057 MB / 419.3 MB, free: 18.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003224/0.196, allocations: 442.1 kB / 419.8 MB, free: 17.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.1971, allocations: 1.21 MB / 421 MB, free: 16.42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.1974, allocations: 187.1 kB / 421.1 MB, free: 16.24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.1976, allocations: 235 kB / 421.4 MB, free: 16.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.1976, allocations: 24 kB / 421.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003072/0.1979, allocations: 179.8 kB / 421.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.579e-05/0.198, allocations: 79.61 kB / 421.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.1981, allocations: 232.5 kB / 421.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004588/0.1986, allocations: 0.6656 MB / 422.5 MB, free: 14.83 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1986, allocations: 0 / 422.5 MB, free: 14.83 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1986, allocations: 0 / 422.5 MB, free: 14.83 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1986, allocations: 0 / 422.5 MB, free: 14.83 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001521/0.2001, allocations: 0.8196 MB / 423.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.2002, allocations: 8.031 kB / 423.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003208/0.2034, allocations: 499.9 kB / 423.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.2037, allocations: 311.6 kB / 424.2 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.2037, allocations: 49.69 kB / 424.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.007e-05/0.2038, allocations: 48.38 kB / 424.3 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007661/0.2045, allocations: 0.522 MB / 424.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.2046, allocations: 7.906 kB / 424.8 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.412e-05/0.2046, allocations: 27.98 kB / 424.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.2046, allocations: 12 kB / 424.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008114/0.2054, allocations: 0.5868 MB / 425.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002187/0.2076, allocations: 1.962 MB / 427.4 MB, free: 9.777 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.209, allocations: 2.17 MB / 429.5 MB, free: 7.219 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003539/0.2094, allocations: 262.1 kB / 429.8 MB, free: 6.957 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.674e-05/0.2095, allocations: 170.6 kB / 430 MB, free: 6.754 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.2095, allocations: 42.94 kB / 430 MB, free: 6.703 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 1.693e-06/0.2095, allocations: 0 / 430 MB, free: 6.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001458/0.211, allocations: 0.7543 MB / 430.8 MB, free: 5.922 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.211, allocations: 63.84 kB / 430.8 MB, free: 5.848 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.2111, allocations: 181.1 kB / 431 MB, free: 5.664 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.2111, allocations: 33.7 kB / 431 MB, free: 5.625 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.329e-05/0.2112, allocations: 216.4 kB / 431.3 MB, free: 5.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.845e-05/0.2113, allocations: 157.7 kB / 431.4 MB, free: 5.254 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/0.2113, allocations: 12 kB / 431.4 MB, free: 5.242 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.437e-05/0.2114, allocations: 334.8 kB / 431.7 MB, free: 4.906 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/0.2116, allocations: 153.1 kB / 431.9 MB, free: 4.758 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.2119, allocations: 246.5 kB / 432.1 MB, free: 4.488 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005177/0.2124, allocations: 432.8 kB / 432.6 MB, free: 4.031 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2124, allocations: 0 / 432.6 MB, free: 4.031 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008204/0.2133, allocations: 0.5392 MB / 433.1 MB, free: 3.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.2133, allocations: 13.53 kB / 433.1 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.2133, allocations: 3.984 kB / 433.1 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003037/0.2136, allocations: 80.75 kB / 433.2 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.214, allocations: 99.83 kB / 433.3 MB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.2152, allocations: 1.648 MB / 434.9 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.2154, allocations: 51.64 kB / 435 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.2155, allocations: 16 kB / 435 MB, free: 1.438 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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 {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001459/0.2156, allocations: 177.5 kB / 435.2 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.598e-05/0.2157, allocations: 27.62 kB / 435.2 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008926/0.2166, allocations: 0.5474 MB / 435.8 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.2166, allocations: 4 kB / 435.8 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2166, allocations: 11.98 kB / 435.8 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2166, allocations: 0 / 435.8 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.218, allocations: 1.157 MB / 436.9 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2181, allocations: 4 kB / 436.9 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003174/0.2184, allocations: 79.89 kB / 437 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002491/0.2186, allocations: 72.81 kB / 437.1 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.2187, allocations: 19.92 kB / 437.1 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/0.2201, allocations: 1.629 MB / 438.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2201, allocations: 3.938 kB / 438.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.2214, allocations: 0.8141 MB / 439.5 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.547e-05/0.2215, allocations: 120.7 kB / 439.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.2215, allocations: 4 kB / 439.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.2217, allocations: 24.06 kB / 439.7 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.735e-05/0.2218, allocations: 44.36 kB / 439.7 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.2219, allocations: 12 kB / 439.7 MB, free: 12.44 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001024/0.222, allocations: 130.5 kB / 439.9 MB, free: 12.31 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.222, allocations: 0 / 439.9 MB, free: 12.31 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004711/0.2224, allocations: 155.6 kB / 440 MB, free: 12.16 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (44): * Single equations (assignments): 43 * 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 {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002232/0.2227, allocations: 147 kB / 440.2 MB, free: 12.01 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.2237, allocations: 0.5776 MB / 440.7 MB, free: 11.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.2237, allocations: 0.5625 kB / 440.7 MB, free: 11.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005594/0.2243, allocations: 381 kB / 441.1 MB, free: 11.03 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.2246, allocations: 35.84 kB / 441.2 MB, free: 11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.226, allocations: 1.07 MB / 442.2 MB, free: 9.891 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.2264, allocations: 0.8009 MB / 443 MB, free: 9.066 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000227/0.2266, allocations: 54.94 kB / 443.1 MB, free: 9.012 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.622e-05/0.2267, allocations: 27.44 kB / 443.1 MB, free: 8.984 MB / 314.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2267, allocations: 0 / 443.1 MB, free: 8.984 MB / 314.7 MB Notification: Performance of Templates: time 0.007919/0.2346, allocations: 4.051 MB / 447.2 MB, free: 4.934 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches