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.OpAmps.LCOscillator.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.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009388/0.0009388, allocations: 183.7 kB / 16.71 MB, free: 4.969 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.381/1.381, allocations: 225.7 MB / 243.2 MB, free: 8.453 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.0007562/0.0007562, allocations: 89.62 kB / 294.4 MB, free: 9.5 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003638, allocations: 15.94 kB / 354.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2263, allocations: 50.41 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.00226/0.2286, allocations: 2.278 MB / 406.9 MB, free: 29.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008805/0.2295, allocations: 0.6396 MB / 407.5 MB, free: 28.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.2296, allocations: 4 kB / 407.5 MB, free: 28.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.2298, allocations: 36.55 kB / 407.5 MB, free: 28.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.2299, allocations: 73.19 kB / 407.6 MB, free: 28.28 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.2302, allocations: 83.86 kB / 407.7 MB, free: 28.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002845/0.2305, allocations: 327.1 kB / 408 MB, free: 27.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.2307, allocations: 89.23 kB / 408.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.2308, allocations: 118.5 kB / 408.2 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.231, allocations: 127.3 kB / 408.3 MB, free: 27.56 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.231, allocations: 16 kB / 408.4 MB, free: 27.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.984e-05/0.2311, allocations: 16 kB / 408.4 MB, free: 27.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.576e-05/0.2311, allocations: 39.83 kB / 408.4 MB, free: 27.49 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.2313, allocations: 160.9 kB / 408.6 MB, free: 27.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.2315, allocations: 296.3 kB / 408.9 MB, free: 27.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.2315, allocations: 3.938 kB / 408.9 MB, free: 27.03 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.2315, allocations: 4 kB / 408.9 MB, free: 27.03 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.2315, allocations: 0 / 408.9 MB, free: 27.03 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0007743/0.2323, allocations: 0.5497 MB / 409.4 MB, free: 26.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.2324, allocations: 8.031 kB / 409.4 MB, free: 26.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.459e-05/0.2324, allocations: 28.66 kB / 409.5 MB, free: 26.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.2327, allocations: 259.7 kB / 409.7 MB, free: 26.1 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.2327, allocations: 24.92 kB / 409.7 MB, free: 26.08 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-05/0.2328, allocations: 24.38 kB / 409.8 MB, free: 26.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004266/0.2332, allocations: 276 kB / 410 MB, free: 25.78 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.2332, allocations: 0 / 410 MB, free: 25.78 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.2333, allocations: 12 kB / 410 MB, free: 25.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.2333, allocations: 8 kB / 410 MB, free: 25.76 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000378/0.2336, allocations: 218.1 kB / 410.3 MB, free: 25.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.2349, allocations: 1.011 MB / 411.3 MB, free: 24.45 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/0.2353, allocations: 202.4 kB / 411.5 MB, free: 24.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003168/0.2357, allocations: 161.1 kB / 411.6 MB, free: 24.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.2357, allocations: 0 / 411.6 MB, free: 24.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.2357, allocations: 42.45 kB / 411.7 MB, free: 24.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 9.21e-07/0.2357, allocations: 4 kB / 411.7 MB, free: 24.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001483/0.2372, allocations: 0.5927 MB / 412.3 MB, free: 23.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.2372, allocations: 55.41 kB / 412.3 MB, free: 23.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.2374, allocations: 225 kB / 412.5 MB, free: 23.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.2374, allocations: 33.7 kB / 412.6 MB, free: 23.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.006e-05/0.2375, allocations: 175.8 kB / 412.7 MB, free: 22.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.2376, allocations: 63.09 kB / 412.8 MB, free: 22.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.355e-06/0.2376, allocations: 7.938 kB / 412.8 MB, free: 22.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.721e-05/0.2376, allocations: 334.8 kB / 413.1 MB, free: 22.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.2378, allocations: 75.91 kB / 413.2 MB, free: 22.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.238, allocations: 132.3 kB / 413.3 MB, free: 22.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/0.2383, allocations: 207.8 kB / 413.5 MB, free: 22.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2383, allocations: 0 / 413.5 MB, free: 22.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006896/0.239, allocations: 376.6 kB / 413.9 MB, free: 21.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.239, allocations: 4 kB / 413.9 MB, free: 21.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.239, allocations: 0 / 413.9 MB, free: 21.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003285/0.2393, allocations: 84.86 kB / 414 MB, free: 21.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.2395, allocations: 55.91 kB / 414.1 MB, free: 21.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/0.2416, allocations: 1.846 MB / 415.9 MB, free: 19.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.2418, allocations: 31.73 kB / 415.9 MB, free: 19.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.2418, allocations: 11.94 kB / 415.9 MB, free: 19.49 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 9.415e-05/0.2419, allocations: 145.8 kB / 416.1 MB, free: 19.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.2419, allocations: 23.88 kB / 416.1 MB, free: 19.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/0.242, allocations: 26.17 kB / 416.1 MB, free: 19.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.242, allocations: 4 kB / 416.1 MB, free: 19.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.242, allocations: 0 / 416.1 MB, free: 19.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.242, allocations: 0 / 416.1 MB, free: 19.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008802/0.2429, allocations: 0.6713 MB / 416.8 MB, free: 18.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2429, allocations: 0 / 416.8 MB, free: 18.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.243, allocations: 31.97 kB / 416.8 MB, free: 18.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002299/0.2433, allocations: 88.69 kB / 416.9 MB, free: 18.44 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.2433, allocations: 3.984 kB / 416.9 MB, free: 18.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/0.2449, allocations: 1.764 MB / 418.7 MB, free: 16.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2449, allocations: 0 / 418.7 MB, free: 16.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007422/0.2457, allocations: 477.3 kB / 419.2 MB, free: 16.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.2457, allocations: 100.8 kB / 419.3 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.2458, allocations: 8.109 kB / 419.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.2459, allocations: 32.05 kB / 419.3 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/0.246, allocations: 7.984 kB / 419.3 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.246, allocations: 4 kB / 419.3 MB, free: 15.89 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001088/0.2461, allocations: 168.5 kB / 419.5 MB, free: 15.72 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2461, allocations: 0 / 419.5 MB, free: 15.72 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003641/0.2465, allocations: 75.84 kB / 419.5 MB, free: 15.65 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * 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 (13): * Single equations (assignments): 12 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001049/0.2466, allocations: 115.2 kB / 419.7 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007513/0.2473, allocations: 378.5 kB / 420 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2474, allocations: 0 / 420 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.2476, allocations: 210.9 kB / 420.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.248, allocations: 36.59 kB / 420.3 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.2501, allocations: 1.066 MB / 421.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001626/0.2503, allocations: 0.7521 MB / 422.1 MB, free: 13.01 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.904e-05/0.2504, allocations: 17.95 kB / 422.1 MB, free: 12.99 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.2504, allocations: 19.44 kB / 422.1 MB, free: 12.97 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2504, allocations: 4 kB / 422.1 MB, free: 12.97 MB / 298.7 MB Notification: Performance of Templates: time 0.004927/0.2553, allocations: 2.674 MB / 424.8 MB, free: 10.31 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches