Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009293/0.0009294, allocations: 178.2 kB / 17.36 MB, free: 4.324 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 205.6 MB / 223.7 MB, free: 8.957 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007268/0.0007269, allocations: 94.53 kB / 272.1 MB, free: 8.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002311/0.0002312, allocations: 4 kB / 329 MB, free: 15.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2097, allocations: 47.58 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.004557/0.2143, allocations: 6.438 MB / 383 MB, free: 40.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009597/0.2239, allocations: 10.87 MB / 393.9 MB, free: 30.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008492/0.2248, allocations: 39.69 kB / 393.9 MB, free: 30.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.2263, allocations: 0.6201 MB / 394.6 MB, free: 30.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003165/0.2295, allocations: 0.9563 MB / 395.5 MB, free: 29.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.2309, allocations: 483.7 kB / 396 MB, free: 28.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002717/0.2337, allocations: 2.353 MB / 398.3 MB, free: 26.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003053/0.234, allocations: 264.3 kB / 398.6 MB, free: 26.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003261/0.2343, allocations: 425.7 kB / 399 MB, free: 25.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003498/0.2347, allocations: 0.5005 MB / 399.5 MB, free: 25.29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.998e-05/0.2348, allocations: 28 kB / 399.5 MB, free: 25.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.2361, allocations: 0.6362 MB / 400.2 MB, free: 24.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.2362, allocations: 158.8 kB / 400.3 MB, free: 24.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003953/0.2366, allocations: 0.6693 MB / 401 MB, free: 23.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.238, allocations: 1.868 MB / 402.9 MB, free: 21.92 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.238, allocations: 0 / 402.9 MB, free: 21.92 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.238, allocations: 0 / 402.9 MB, free: 21.92 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.2381, allocations: 4 kB / 402.9 MB, free: 21.91 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001975/0.24, allocations: 1.76 MB / 404.6 MB, free: 20.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.2401, allocations: 8.031 kB / 404.6 MB, free: 20.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.2403, allocations: 194.7 kB / 404.8 MB, free: 19.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.2416, allocations: 1.341 MB / 406.2 MB, free: 18.51 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.2416, allocations: 33 kB / 406.2 MB, free: 18.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-05/0.2417, allocations: 47.91 kB / 406.3 MB, free: 18.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007612/0.2425, allocations: 0.5236 MB / 406.8 MB, free: 17.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.2425, allocations: 0 / 406.8 MB, free: 17.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/0.2425, allocations: 23.92 kB / 406.8 MB, free: 17.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.2426, allocations: 19.94 kB / 406.8 MB, free: 17.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007464/0.2433, allocations: 492.1 kB / 407.3 MB, free: 17.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00219/0.2455, allocations: 2.115 MB / 409.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008227/0.2464, allocations: 0.7275 MB / 410.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009343/0.2473, allocations: 0.5218 MB / 410.7 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008594/0.2559, allocations: 6.529 MB / 417.2 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007211/0.2567, allocations: 298.5 kB / 417.5 MB, free: 6.062 MB / 298.7 MB Notification: Performance of pre-optimization done (n=55): time 3.517e-06/0.2567, allocations: 0 / 417.5 MB, free: 6.062 MB / 298.7 MB Notification: Performance of matching and sorting (n=59): time 0.00458/0.2613, allocations: 2.014 MB / 419.5 MB, free: 3.988 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.2613, allocations: 59.84 kB / 419.6 MB, free: 3.918 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/0.2631, allocations: 1.28 MB / 420.8 MB, free: 2.641 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.284e-05/0.2632, allocations: 37.7 kB / 420.9 MB, free: 2.598 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005988/0.2638, allocations: 0.715 MB / 421.6 MB, free: 1.879 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.2639, allocations: 197.1 kB / 421.8 MB, free: 1.684 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.264, allocations: 12 kB / 421.8 MB, free: 1.672 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.983e-05/0.2641, allocations: 334 kB / 422.1 MB, free: 1.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005261/0.2646, allocations: 201.5 kB / 422.3 MB, free: 1.145 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006416/0.2653, allocations: 375.8 kB / 422.7 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003203/0.2685, allocations: 1.174 MB / 423.9 MB, free: 15.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.902e-06/0.2685, allocations: 0 / 423.9 MB, free: 15.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002321/0.2708, allocations: 0.9337 MB / 424.8 MB, free: 14.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.2709, allocations: 8 kB / 424.8 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001247/0.271, allocations: 55.98 kB / 424.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005718/0.2716, allocations: 160.1 kB / 425 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006738/0.2723, allocations: 119.8 kB / 425.1 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003839/0.2761, allocations: 2.299 MB / 427.4 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008394/0.277, allocations: 32.12 kB / 427.5 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.028e-05/0.2771, allocations: 36 kB / 427.5 MB, free: 11.68 MB / 314.7 MB Warning: Assuming fixed start value for the following 2 variables: T1.vbx:VARIABLE(unit = "V" fixed = true ) type: Real T2.vbx:VARIABLE(unit = "V" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.v.counter,v.counter,$whenCondition1,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(4,14,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007337/0.2778, allocations: 281.6 kB / 427.8 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/0.2781, allocations: 181.9 kB / 427.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002792/0.2809, allocations: 0.902 MB / 428.8 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.281, allocations: 11.98 kB / 428.9 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.281, allocations: 0 / 428.9 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.281, allocations: 0 / 428.9 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.2825, allocations: 0.8708 MB / 429.7 MB, free: 9.367 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001089/0.2826, allocations: 56 kB / 429.8 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004244/0.283, allocations: 71.89 kB / 429.9 MB, free: 9.242 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004878/0.2835, allocations: 140.8 kB / 430 MB, free: 9.102 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.649e-05/0.2836, allocations: 16 kB / 430 MB, free: 9.086 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003693/0.2873, allocations: 2.3 MB / 432.3 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2873, allocations: 0 / 432.3 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002787/0.2901, allocations: 1.084 MB / 433.4 MB, free: 5.543 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004726/0.2906, allocations: 250.9 kB / 433.6 MB, free: 5.277 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/0.2908, allocations: 15.94 kB / 433.7 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005522/0.2914, allocations: 31.92 kB / 433.7 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.2916, allocations: 44.38 kB / 433.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.635e-05/0.2916, allocations: 20 kB / 433.7 MB, free: 5.168 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001598/0.2932, allocations: 0.846 MB / 434.6 MB, free: 4.332 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.2933, allocations: 0 / 434.6 MB, free: 4.332 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001331/0.2946, allocations: 375.8 kB / 435 MB, free: 3.965 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vbx,T2.vbe,T2.vbx) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * 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 {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000973/0.2956, allocations: 465.2 kB / 435.4 MB, free: 3.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002196/0.2978, allocations: 0.8601 MB / 436.3 MB, free: 2.613 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2978, allocations: 0 / 436.3 MB, free: 2.613 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.2991, allocations: 0.6019 MB / 436.9 MB, free: 1.984 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009964/0.3001, allocations: 178.6 kB / 437.1 MB, free: 1.809 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004983/0.3051, allocations: 2.916 MB / 440 MB, free: 14.86 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009349/0.3061, allocations: 1.166 MB / 441.1 MB, free: 13.66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009034/0.307, allocations: 183.2 kB / 441.3 MB, free: 13.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.3072, allocations: 83.44 kB / 441.4 MB, free: 13.4 MB / 330.7 MB Notification: Performance of SimCode: time 4.11e-07/0.3072, allocations: 3.938 kB / 441.4 MB, free: 13.39 MB / 330.7 MB Notification: Performance of Templates: time 0.0237/0.3309, allocations: 12.79 MB / 454.2 MB, free: 0.6055 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches