Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001688/0.001687, allocations: 207.3 kB / 17.99 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009416/0.0009416, allocations: 121 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008888/0.0008889, allocations: 59.89 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1874, allocations: 50.44 MB / 407 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.00363/0.191, allocations: 3.721 MB / 410.8 MB, free: 24.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.1928, allocations: 1.489 MB / 412.3 MB, free: 22.6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.1929, allocations: 8 kB / 412.3 MB, free: 22.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.1943, allocations: 0.7044 MB / 413 MB, free: 21.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006136/0.1949, allocations: 347.9 kB / 413.3 MB, free: 21.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007529/0.1957, allocations: 0.529 MB / 413.8 MB, free: 21.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002913/0.196, allocations: 458 kB / 414.3 MB, free: 20.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005333/0.1965, allocations: 415.9 kB / 414.7 MB, free: 20.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.1968, allocations: 207.3 kB / 414.9 MB, free: 19.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.197, allocations: 270.9 kB / 415.2 MB, free: 19.69 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.49e-05/0.197, allocations: 32 kB / 415.2 MB, free: 19.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002907/0.1973, allocations: 207.8 kB / 415.4 MB, free: 19.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.1974, allocations: 99.59 kB / 415.5 MB, free: 19.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.1975, allocations: 226.8 kB / 415.7 MB, free: 19.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005112/0.198, allocations: 0.6775 MB / 416.4 MB, free: 18.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.198, allocations: 3.938 kB / 416.4 MB, free: 18.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.198, allocations: 0 / 416.4 MB, free: 18.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1981, allocations: 4 kB / 416.4 MB, free: 18.45 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.001719/0.1998, allocations: 0.9248 MB / 417.3 MB, free: 17.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.1998, allocations: 12.03 kB / 417.3 MB, free: 17.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003238/0.2031, allocations: 495.9 kB / 417.8 MB, free: 16.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.2034, allocations: 299.7 kB / 418.1 MB, free: 16.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.2034, allocations: 41.69 kB / 418.2 MB, free: 16.61 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.95e-05/0.2035, allocations: 52.38 kB / 418.2 MB, free: 16.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007551/0.2042, allocations: 0.5259 MB / 418.7 MB, free: 16.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.2043, allocations: 3.984 kB / 418.7 MB, free: 16.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.407e-05/0.2043, allocations: 24 kB / 418.8 MB, free: 16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.2043, allocations: 12 kB / 418.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008432/0.2052, allocations: 0.579 MB / 419.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/0.2074, allocations: 1.962 MB / 421.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.2089, allocations: 2.168 MB / 423.5 MB, free: 10.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000375/0.2093, allocations: 264.4 kB / 423.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.852e-05/0.2094, allocations: 174.6 kB / 423.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.2095, allocations: 42.92 kB / 423.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 2.014e-06/0.2095, allocations: 0 / 423.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001557/0.211, allocations: 0.7426 MB / 424.7 MB, free: 9.473 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.986e-05/0.2111, allocations: 55.84 kB / 424.7 MB, free: 9.406 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.2112, allocations: 194.1 kB / 424.9 MB, free: 9.207 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.2112, allocations: 33.7 kB / 425 MB, free: 9.168 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/0.2113, allocations: 220.4 kB / 425.2 MB, free: 8.949 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.966e-05/0.2114, allocations: 157.7 kB / 425.3 MB, free: 8.793 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.2115, allocations: 86.16 kB / 425.4 MB, free: 8.703 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.595e-05/0.2115, allocations: 334.8 kB / 425.7 MB, free: 8.367 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.2118, allocations: 157 kB / 425.9 MB, free: 8.215 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/0.2121, allocations: 234.6 kB / 426.1 MB, free: 7.953 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005251/0.2126, allocations: 420.8 kB / 426.5 MB, free: 7.508 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.2126, allocations: 0 / 426.5 MB, free: 7.508 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008282/0.2135, allocations: 0.5395 MB / 427.1 MB, free: 6.957 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.2135, allocations: 8 kB / 427.1 MB, free: 6.949 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2135, allocations: 0 / 427.1 MB, free: 6.949 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003174/0.2138, allocations: 84.86 kB / 427.2 MB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/0.2142, allocations: 91.89 kB / 427.3 MB, free: 6.773 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/0.2154, allocations: 1.656 MB / 428.9 MB, free: 4.984 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.2156, allocations: 39.53 kB / 429 MB, free: 4.945 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.2157, allocations: 31.92 kB / 429 MB, free: 4.914 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.0001301/0.2158, allocations: 171.2 kB / 429.2 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.352e-05/0.2159, allocations: 27.78 kB / 429.2 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009304/0.2168, allocations: 0.5356 MB / 429.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2168, allocations: 4 kB / 429.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.2168, allocations: 0 / 429.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.2168, allocations: 7.969 kB / 429.7 MB, free: 4.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.2182, allocations: 1.149 MB / 430.9 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2182, allocations: 7.938 kB / 430.9 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/0.2186, allocations: 75.91 kB / 431 MB, free: 2.863 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002405/0.2188, allocations: 80.86 kB / 431 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.2188, allocations: 15.94 kB / 431.1 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.2199, allocations: 1.636 MB / 432.7 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.22, allocations: 0 / 432.7 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/0.2222, allocations: 1.965 MB / 434.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.574e-05/0.2223, allocations: 108.8 kB / 434.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.2223, allocations: 15.97 kB / 434.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.2226, allocations: 20.09 kB / 434.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-05/0.2227, allocations: 40.38 kB / 434.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/0.2227, allocations: 16 kB / 434.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001018/0.2228, allocations: 132.2 kB / 435 MB, free: 14.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2228, allocations: 0 / 435 MB, free: 14.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000544/0.2234, allocations: 155.6 kB / 435.1 MB, free: 14.38 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.000219/0.2236, allocations: 153.6 kB / 435.3 MB, free: 14.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009733/0.2246, allocations: 0.5698 MB / 435.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2246, allocations: 0 / 435.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000558/0.2251, allocations: 381.6 kB / 436.2 MB, free: 13.26 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.2255, allocations: 31.94 kB / 436.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.2271, allocations: 1.287 MB / 437.5 MB, free: 11.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.2274, allocations: 0.8204 MB / 438.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002089/0.2276, allocations: 38.97 kB / 438.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.217e-05/0.2277, allocations: 47.36 kB / 438.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2277, allocations: 0 / 438.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of Templates: time 0.007786/0.2355, allocations: 4.291 MB / 442.7 MB, free: 6.688 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@2/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