Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 110.9 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 190.6 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009858/0.0009859, allocations: 51.92 kB / 352 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2229, allocations: 49.44 MB / 401.4 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004046/0.227, allocations: 3.181 MB / 404.6 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.2282, allocations: 0.7557 MB / 405.4 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.2283, allocations: 8 kB / 405.4 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.2285, allocations: 63.36 kB / 405.5 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.2287, allocations: 107.1 kB / 405.6 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.229, allocations: 127.8 kB / 405.7 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000397/0.2294, allocations: 450.2 kB / 406.1 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002482/0.2297, allocations: 143.9 kB / 406.3 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.2299, allocations: 171.4 kB / 406.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.2301, allocations: 179.2 kB / 406.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.992e-05/0.2301, allocations: 44 kB / 406.7 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.631e-05/0.2302, allocations: 47.94 kB / 406.7 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.152e-05/0.2303, allocations: 91.69 kB / 406.8 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.2305, allocations: 191.1 kB / 407 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004585/0.2309, allocations: 0.5034 MB / 407.5 MB, free: 2.953 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.231, allocations: 0 / 407.5 MB, free: 2.953 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.231, allocations: 0 / 407.5 MB, free: 2.953 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.231, allocations: 0 / 407.5 MB, free: 2.953 MB / 318.1 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.00104/0.232, allocations: 0.6626 MB / 408.1 MB, free: 2.242 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.2321, allocations: 8.031 kB / 408.1 MB, free: 2.234 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.064e-05/0.2321, allocations: 40.47 kB / 408.2 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003736/0.2325, allocations: 307.6 kB / 408.5 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.2326, allocations: 25.03 kB / 408.5 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/0.2326, allocations: 32.36 kB / 408.5 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006464/0.2333, allocations: 353.4 kB / 408.9 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2333, allocations: 0 / 408.9 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.2333, allocations: 8 kB / 408.9 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.2333, allocations: 8 kB / 408.9 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005921/0.2339, allocations: 274.4 kB / 409.2 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/0.2359, allocations: 1.256 MB / 410.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006049/0.2365, allocations: 303.7 kB / 410.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.2367, allocations: 92.81 kB / 410.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.2368, allocations: 0 / 410.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.2368, allocations: 42.5 kB / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.2368, allocations: 0 / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002208/0.239, allocations: 0.6427 MB / 411.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.239, allocations: 55.41 kB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/0.2394, allocations: 294.9 kB / 411.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.2394, allocations: 29.7 kB / 411.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.2395, allocations: 215.8 kB / 412.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.2396, allocations: 47.3 kB / 412.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-05/0.2397, allocations: 53.61 kB / 412.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.2398, allocations: 334.8 kB / 412.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.24, allocations: 79.95 kB / 412.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.2402, allocations: 170.1 kB / 412.8 MB, free: 13.35 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/0.2407, allocations: 242.1 kB / 413 MB, free: 13.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2407, allocations: 4 kB / 413 MB, free: 13.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009641/0.2417, allocations: 405.8 kB / 413.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.2417, allocations: 8 kB / 413.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.2417, allocations: 3.938 kB / 413.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004146/0.2421, allocations: 108.8 kB / 413.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.2423, allocations: 39.92 kB / 413.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002987/0.2453, allocations: 2.189 MB / 415.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.2455, allocations: 35.67 kB / 415.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.2456, allocations: 16 kB / 415.8 MB, free: 10.12 MB / 334.1 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.0001442/0.2457, allocations: 145.8 kB / 415.9 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.522e-05/0.2458, allocations: 27.72 kB / 416 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.346e-05/0.2458, allocations: 29.84 kB / 416 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.2459, allocations: 0 / 416 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2459, allocations: 7.938 kB / 416 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.907e-05/0.2459, allocations: 104.7 kB / 416.1 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.246, allocations: 0 / 416.1 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.2462, allocations: 27.98 kB / 416.1 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.2463, allocations: 15.97 kB / 416.1 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001048/0.2473, allocations: 397.5 kB / 416.5 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000672/0.248, allocations: 454.1 kB / 417 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001773/0.2482, allocations: 59.97 kB / 417 MB, free: 8.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001981/0.2484, allocations: 217.9 kB / 417.2 MB, free: 8.609 MB / 334.1 MB Notification: Performance of Backend: time 3e-07/0.2484, allocations: 0 / 417.2 MB, free: 8.609 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008331/0.2492, allocations: 358.8 kB / 417.6 MB, free: 8.246 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009819/0.2502, allocations: 1.013 MB / 418.6 MB, free: 7.18 MB / 334.1 MB Notification: Performance of Templates: time 0.007021/0.2573, allocations: 3.554 MB / 422.2 MB, free: 3.648 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches