Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance") translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 184.1 kB / 16.71 MB, free: 4.973 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 225.7 MB / 243.2 MB, free: 10.24 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007591/0.0007591, allocations: 99.09 kB / 294.4 MB, free: 9.734 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002495/0.0002495, allocations: 8 kB / 354.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2221, allocations: 50.42 MB / 404.6 MB, free: 31.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.002354/0.2245, allocations: 2.453 MB / 407 MB, free: 28.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007849/0.2253, allocations: 0.6281 MB / 407.7 MB, free: 28.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.2255, allocations: 9.188 kB / 407.7 MB, free: 28.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.2256, allocations: 47.67 kB / 407.7 MB, free: 28.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.2258, allocations: 76.78 kB / 407.8 MB, free: 28.13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.226, allocations: 83.84 kB / 407.9 MB, free: 28.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000251/0.2262, allocations: 358.9 kB / 408.2 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002362/0.2265, allocations: 150.8 kB / 408.4 MB, free: 27.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.2266, allocations: 123.5 kB / 408.5 MB, free: 27.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.2268, allocations: 135.3 kB / 408.6 MB, free: 27.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.2268, allocations: 16 kB / 408.6 MB, free: 27.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.689e-05/0.2268, allocations: 20 kB / 408.7 MB, free: 27.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.947e-05/0.2269, allocations: 51.78 kB / 408.7 MB, free: 27.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.227, allocations: 168.9 kB / 408.9 MB, free: 27.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.2272, allocations: 360.1 kB / 409.2 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.2272, allocations: 3.938 kB / 409.2 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2273, allocations: 0 / 409.2 MB, free: 26.69 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.2273, allocations: 0 / 409.2 MB, free: 26.69 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0006872/0.228, allocations: 0.5693 MB / 409.8 MB, free: 26.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.228, allocations: 12.03 kB / 409.8 MB, free: 26.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.319e-05/0.2281, allocations: 36.5 kB / 409.8 MB, free: 26.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.2283, allocations: 259.7 kB / 410.1 MB, free: 25.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.2283, allocations: 29.03 kB / 410.1 MB, free: 25.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.217e-05/0.2283, allocations: 32.38 kB / 410.2 MB, free: 25.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004248/0.2288, allocations: 286.4 kB / 410.4 MB, free: 25.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.2288, allocations: 0 / 410.4 MB, free: 25.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.2288, allocations: 16 kB / 410.5 MB, free: 25.37 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.2288, allocations: 8 kB / 410.5 MB, free: 25.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.2292, allocations: 218.5 kB / 410.7 MB, free: 25.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.2304, allocations: 1.03 MB / 411.7 MB, free: 24.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.2307, allocations: 171.9 kB / 411.9 MB, free: 23.87 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.2309, allocations: 128.8 kB / 412 MB, free: 23.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.2309, allocations: 7.938 kB / 412 MB, free: 23.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.2309, allocations: 38.56 kB / 412 MB, free: 23.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.222e-06/0.231, allocations: 0 / 412 MB, free: 23.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004642/0.2314, allocations: 242.4 kB / 412.3 MB, free: 23.44 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.2315, allocations: 59.41 kB / 412.3 MB, free: 23.37 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.2316, allocations: 211.1 kB / 412.5 MB, free: 23.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.2316, allocations: 29.7 kB / 412.6 MB, free: 23.12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.2317, allocations: 195.9 kB / 412.8 MB, free: 22.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.2317, allocations: 70.91 kB / 412.8 MB, free: 22.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-06/0.2317, allocations: 8 kB / 412.8 MB, free: 22.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.835e-05/0.2318, allocations: 334.8 kB / 413.2 MB, free: 22.51 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.2319, allocations: 76.52 kB / 413.2 MB, free: 22.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.2321, allocations: 146.5 kB / 413.4 MB, free: 22.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.2324, allocations: 229.3 kB / 413.6 MB, free: 22 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2324, allocations: 0 / 413.6 MB, free: 22 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003812/0.2328, allocations: 284.9 kB / 413.9 MB, free: 21.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.2328, allocations: 8 kB / 413.9 MB, free: 21.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2328, allocations: 0 / 413.9 MB, free: 21.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.2329, allocations: 4.25 kB / 413.9 MB, free: 21.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.2331, allocations: 83.89 kB / 414 MB, free: 21.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.2331, allocations: 7.938 kB / 414 MB, free: 21.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.2333, allocations: 35.72 kB / 414 MB, free: 21.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.2333, allocations: 15.98 kB / 414 MB, free: 21.56 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.425e-05/0.2334, allocations: 137.8 kB / 414.2 MB, free: 21.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.2335, allocations: 31.66 kB / 414.2 MB, free: 21.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003424/0.2338, allocations: 204.5 kB / 414.4 MB, free: 21.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2338, allocations: 4 kB / 414.4 MB, free: 21.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2338, allocations: 0 / 414.4 MB, free: 21.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2338, allocations: 3.984 kB / 414.4 MB, free: 21.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006066/0.2344, allocations: 0.6064 MB / 415 MB, free: 20.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2345, allocations: 3.938 kB / 415 MB, free: 20.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.2347, allocations: 64.03 kB / 415.1 MB, free: 20.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.2347, allocations: 0 / 415.1 MB, free: 20.44 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.2348, allocations: 8 kB / 415.1 MB, free: 20.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.2348, allocations: 3.984 kB / 415.1 MB, free: 20.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2348, allocations: 3.938 kB / 415.1 MB, free: 20.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004698/0.2352, allocations: 395.8 kB / 415.5 MB, free: 20.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.2353, allocations: 100.8 kB / 415.6 MB, free: 19.9 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.2353, allocations: 8.047 kB / 415.6 MB, free: 19.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.2355, allocations: 27.98 kB / 415.6 MB, free: 19.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.2356, allocations: 7.984 kB / 415.6 MB, free: 19.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.2356, allocations: 8 kB / 415.6 MB, free: 19.85 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.766e-05/0.2357, allocations: 148.7 kB / 415.8 MB, free: 19.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2357, allocations: 0 / 415.8 MB, free: 19.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002807/0.236, allocations: 79.72 kB / 415.9 MB, free: 19.62 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.v) * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00011/0.2361, allocations: 119.2 kB / 416 MB, free: 19.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003457/0.2364, allocations: 176.3 kB / 416.2 MB, free: 19.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2364, allocations: 4 kB / 416.2 MB, free: 19.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.2366, allocations: 91.44 kB / 416.2 MB, free: 19.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.2369, allocations: 32.61 kB / 416.3 MB, free: 19.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.238, allocations: 1.071 MB / 417.4 MB, free: 18.1 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.2382, allocations: 0.7716 MB / 418.1 MB, free: 17.3 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.32e-05/0.2383, allocations: 25.89 kB / 418.1 MB, free: 17.28 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.2383, allocations: 19.44 kB / 418.2 MB, free: 17.26 MB / 298.7 MB Notification: Performance of SimCode: time 2.81e-07/0.2383, allocations: 0 / 418.2 MB, free: 17.26 MB / 298.7 MB Notification: Performance of Templates: time 0.004129/0.2425, allocations: 1.893 MB / 420.1 MB, free: 15.37 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches