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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 175.8 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.695/1.695, allocations: 223.3 MB / 241.4 MB, free: 9.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008263/0.0008261, allocations: 91.67 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00055/0.0005501, allocations: 19.92 kB / 352.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.297, allocations: 50.4 MB / 402.8 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1072/0.4042, allocations: 80.95 MB / 483.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/0.4046, allocations: 83.42 kB / 483.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01554/0.4202, allocations: 5.653 MB / 489.5 MB, free: 9.613 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.4202, allocations: 0 / 489.5 MB, free: 9.613 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.451e-05/0.4203, allocations: 8 kB / 489.5 MB, free: 9.605 MB / 362.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.001266/0.4215, allocations: 0.5886 MB / 490 MB, free: 8.965 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.4216, allocations: 12.03 kB / 490.1 MB, free: 8.953 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.4217, allocations: 36.47 kB / 490.1 MB, free: 8.918 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000492/0.4222, allocations: 304.5 kB / 490.4 MB, free: 8.582 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.4223, allocations: 25.03 kB / 490.4 MB, free: 8.559 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/0.4223, allocations: 28.38 kB / 490.4 MB, free: 8.531 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006876/0.423, allocations: 353.6 kB / 490.8 MB, free: 8.172 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.423, allocations: 192 / 490.8 MB, free: 8.172 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.4231, allocations: 19.88 kB / 490.8 MB, free: 8.152 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.4231, allocations: 8 kB / 490.8 MB, free: 8.145 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006199/0.4237, allocations: 274.5 kB / 491.1 MB, free: 7.879 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002254/0.426, allocations: 1.291 MB / 492.4 MB, free: 6.508 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006326/0.4266, allocations: 299.7 kB / 492.7 MB, free: 6.188 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.4269, allocations: 104.8 kB / 492.8 MB, free: 6.082 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.4269, allocations: 8 kB / 492.8 MB, free: 6.074 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.427, allocations: 30.56 kB / 492.8 MB, free: 6.035 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 2.785e-06/0.427, allocations: 0 / 492.8 MB, free: 6.035 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.002091/0.4291, allocations: 0.6849 MB / 493.5 MB, free: 5.324 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.4291, allocations: 55.41 kB / 493.6 MB, free: 5.258 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/0.4295, allocations: 295 kB / 493.8 MB, free: 4.965 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.4295, allocations: 29.7 kB / 493.9 MB, free: 4.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.4297, allocations: 215.8 kB / 494.1 MB, free: 4.715 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.019e-05/0.4297, allocations: 59.19 kB / 494.1 MB, free: 4.656 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.4297, allocations: 4 kB / 494.1 MB, free: 4.652 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.4299, allocations: 334.8 kB / 494.5 MB, free: 4.316 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.4301, allocations: 87.89 kB / 494.6 MB, free: 4.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.4304, allocations: 154.3 kB / 494.7 MB, free: 4.043 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004637/0.4308, allocations: 262.1 kB / 495 MB, free: 3.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.4309, allocations: 0 / 495 MB, free: 3.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000941/0.4318, allocations: 436.5 kB / 495.4 MB, free: 3.316 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.4318, allocations: 4 kB / 495.4 MB, free: 3.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.4319, allocations: 7.938 kB / 495.4 MB, free: 3.305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000433/0.4323, allocations: 116.8 kB / 495.5 MB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.4325, allocations: 35.98 kB / 495.5 MB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002892/0.4354, allocations: 1.975 MB / 497.5 MB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.4356, allocations: 31.69 kB / 497.6 MB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.4356, allocations: 20.05 kB / 497.6 MB, free: 0.9961 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002246/0.4359, allocations: 153.7 kB / 497.7 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.64e-05/0.436, allocations: 23.72 kB / 497.7 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.206e-05/0.436, allocations: 29.91 kB / 497.8 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.436, allocations: 0 / 497.8 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.436, allocations: 0 / 497.8 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.436, allocations: 4 kB / 497.8 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.4374, allocations: 0.7458 MB / 498.5 MB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4374, allocations: 0 / 498.5 MB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.966e-05/0.4375, allocations: 19.92 kB / 498.5 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003315/0.4379, allocations: 104.8 kB / 498.6 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.4379, allocations: 0 / 498.6 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002911/0.4408, allocations: 1.967 MB / 0.4889 GB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4408, allocations: 0 / 0.4889 GB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000844/0.4417, allocations: 427.1 kB / 0.4893 GB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.4418, allocations: 104.8 kB / 0.4894 GB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.4418, allocations: 4 kB / 0.4894 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.442, allocations: 31.97 kB / 0.4894 GB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.4421, allocations: 11.98 kB / 0.4894 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.4421, allocations: 4 kB / 0.4894 GB, free: 13.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002439/0.4424, allocations: 206 kB / 0.4896 GB, free: 12.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4424, allocations: 3.938 kB / 0.4896 GB, free: 12.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005228/0.4429, allocations: 99.69 kB / 0.4897 GB, free: 12.83 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001752/0.4431, allocations: 107 kB / 0.4898 GB, free: 12.72 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007291/0.4438, allocations: 342.6 kB / 0.4902 GB, free: 12.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4438, allocations: 0 / 0.4902 GB, free: 12.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003437/0.4442, allocations: 239 kB / 0.4904 GB, free: 12.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.4446, allocations: 32.88 kB / 0.4904 GB, free: 12.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.4459, allocations: 0.6797 MB / 0.4911 GB, free: 11.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.4462, allocations: 0.7755 MB / 0.4918 GB, free: 10.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.4464, allocations: 26.67 kB / 0.4919 GB, free: 10.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.4464, allocations: 15.44 kB / 0.4919 GB, free: 10.54 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4464, allocations: 0 / 0.4919 GB, free: 10.54 MB / 378.7 MB Notification: Performance of Templates: time 0.009459/0.4559, allocations: 3.314 MB / 0.4951 GB, free: 7.266 MB / 378.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/jenkins1/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