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.Adder.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.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 177.3 kB / 16.71 MB, free: 5.094 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.314/1.314, allocations: 225.7 MB / 243.2 MB, free: 8.457 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.0007758/0.0007756, allocations: 89.67 kB / 294.4 MB, free: 9.5 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002721/0.0002721, allocations: 8 kB / 354.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2171, allocations: 50.41 MB / 404.6 MB, free: 31.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.002416/0.2196, allocations: 2.726 MB / 407.3 MB, free: 28.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009388/0.2205, allocations: 0.7253 MB / 408 MB, free: 27.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.2207, allocations: 4 kB / 408 MB, free: 27.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.2209, allocations: 43.62 kB / 408.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.221, allocations: 92.89 kB / 408.2 MB, free: 27.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.2213, allocations: 105.5 kB / 408.3 MB, free: 27.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002958/0.2216, allocations: 418.2 kB / 408.7 MB, free: 27.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002292/0.2218, allocations: 132.6 kB / 408.8 MB, free: 27.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.222, allocations: 140.1 kB / 409 MB, free: 26.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.2222, allocations: 151.2 kB / 409.1 MB, free: 26.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.2222, allocations: 20 kB / 409.1 MB, free: 26.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.354e-05/0.2223, allocations: 20 kB / 409.1 MB, free: 26.76 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.2224, allocations: 59.7 kB / 409.2 MB, free: 26.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.2225, allocations: 200.8 kB / 409.4 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.2228, allocations: 471.7 kB / 409.9 MB, free: 26.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.2228, allocations: 0 / 409.9 MB, free: 26.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2228, allocations: 4 kB / 409.9 MB, free: 26.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2228, allocations: 0 / 409.9 MB, free: 26.04 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0008229/0.2237, allocations: 0.6081 MB / 410.5 MB, free: 25.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.2237, allocations: 12.03 kB / 410.5 MB, free: 25.37 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.868e-05/0.2238, allocations: 40.47 kB / 410.5 MB, free: 25.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.2241, allocations: 299.5 kB / 410.8 MB, free: 25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.2241, allocations: 25.03 kB / 410.8 MB, free: 24.97 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.2242, allocations: 28.38 kB / 410.9 MB, free: 24.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005473/0.2247, allocations: 357.4 kB / 411.2 MB, free: 24.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.2247, allocations: 7.938 kB / 411.2 MB, free: 24.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.298e-05/0.2248, allocations: 19.94 kB / 411.2 MB, free: 24.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.2248, allocations: 8 kB / 411.2 MB, free: 24.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005136/0.2253, allocations: 278.5 kB / 411.5 MB, free: 24.28 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.2269, allocations: 1.268 MB / 412.8 MB, free: 22.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005122/0.2274, allocations: 311.7 kB / 413.1 MB, free: 22.6 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.2276, allocations: 104.8 kB / 413.2 MB, free: 22.49 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.2277, allocations: 3.984 kB / 413.2 MB, free: 22.49 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.2277, allocations: 30.56 kB / 413.2 MB, free: 22.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/0.2277, allocations: 0 / 413.2 MB, free: 22.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001942/0.2296, allocations: 0.6902 MB / 413.9 MB, free: 21.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.2297, allocations: 55.41 kB / 414 MB, free: 21.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.2299, allocations: 291 kB / 414.3 MB, free: 21.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.23, allocations: 29.7 kB / 414.3 MB, free: 21.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.62e-05/0.23, allocations: 211.8 kB / 414.5 MB, free: 21.13 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.2301, allocations: 55.2 kB / 414.5 MB, free: 21.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.2301, allocations: 4 kB / 414.6 MB, free: 21.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.011e-05/0.2302, allocations: 338.8 kB / 414.9 MB, free: 20.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.2303, allocations: 87.89 kB / 415 MB, free: 20.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.2306, allocations: 165.5 kB / 415.1 MB, free: 20.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.2309, allocations: 246.1 kB / 415.4 MB, free: 20.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.231, allocations: 3.938 kB / 415.4 MB, free: 20.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008392/0.2318, allocations: 422 kB / 415.8 MB, free: 19.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.2318, allocations: 11.94 kB / 415.8 MB, free: 19.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.2318, allocations: 3.938 kB / 415.8 MB, free: 19.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000423/0.2323, allocations: 116.8 kB / 415.9 MB, free: 19.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.2324, allocations: 35.98 kB / 416 MB, free: 19.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/0.2347, allocations: 2.003 MB / 418 MB, free: 17.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.2349, allocations: 39.67 kB / 418 MB, free: 17.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.2349, allocations: 11.94 kB / 418 MB, free: 17.39 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (22): * 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: 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001212/0.235, allocations: 157.7 kB / 418.2 MB, free: 17.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.2351, allocations: 23.72 kB / 418.2 MB, free: 17.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.53e-05/0.2351, allocations: 33.91 kB / 418.2 MB, free: 17.17 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2352, allocations: 4 kB / 418.2 MB, free: 17.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.2352, allocations: 0 / 418.2 MB, free: 17.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2352, allocations: 0 / 418.2 MB, free: 17.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.2362, allocations: 0.7488 MB / 419 MB, free: 16.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2362, allocations: 4 kB / 419 MB, free: 16.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.685e-05/0.2363, allocations: 12 kB / 419 MB, free: 16.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002797/0.2366, allocations: 108.7 kB / 419.1 MB, free: 16.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.2366, allocations: 0 / 419.1 MB, free: 16.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/0.2385, allocations: 1.991 MB / 421.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2385, allocations: 0 / 421.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007034/0.2392, allocations: 423.9 kB / 421.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/0.2393, allocations: 108.8 kB / 421.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.2393, allocations: 0 / 421.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.2395, allocations: 31.98 kB / 421.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.2396, allocations: 7.984 kB / 421.6 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.2396, allocations: 4 kB / 421.6 MB, free: 13.51 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001517/0.2398, allocations: 213.9 kB / 421.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2398, allocations: 0 / 421.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004401/0.2402, allocations: 91.69 kB / 421.9 MB, free: 13.21 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (8): * Single equations (assignments): 7 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001194/0.2403, allocations: 115.2 kB / 422.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000614/0.241, allocations: 346.5 kB / 422.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.241, allocations: 0 / 422.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002934/0.2413, allocations: 227.2 kB / 422.6 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.2416, allocations: 44.75 kB / 422.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008944/0.2425, allocations: 0.7031 MB / 423.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.2427, allocations: 0.7677 MB / 424.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.376e-05/0.2428, allocations: 26.28 kB / 424.2 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.2429, allocations: 19.44 kB / 424.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2429, allocations: 0 / 424.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of Templates: time 0.005769/0.2487, allocations: 3.35 MB / 427.5 MB, free: 7.551 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches