Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001357/0.001357, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.541/1.541, allocations: 225.6 MB / 234.8 MB, free: 3.23 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008223/0.0008224, allocations: 100.9 kB / 286.7 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.07e-05/2.071e-05, allocations: 8 kB / 343.7 MB, free: 8.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1044, allocations: 51.48 MB / 395.2 MB, free: 4.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3145/0.419, allocations: 80.99 MB / 476.2 MB, free: 11.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/0.4194, allocations: 82.81 kB / 476.3 MB, free: 11.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01375/0.4331, allocations: 5.685 MB / 481.9 MB, free: 7.406 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4332, allocations: 0 / 481.9 MB, free: 7.406 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.169e-05/0.4332, allocations: 8 kB / 481.9 MB, free: 7.398 MB / 346.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.0007505/0.434, allocations: 0.5702 MB / 482.5 MB, free: 6.809 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.434, allocations: 8.031 kB / 482.5 MB, free: 6.801 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.4342, allocations: 51.52 kB / 482.6 MB, free: 6.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.4346, allocations: 290 kB / 482.9 MB, free: 6.465 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.4346, allocations: 15.61 kB / 482.9 MB, free: 6.453 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.4346, allocations: 16 kB / 482.9 MB, free: 6.438 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003275/0.435, allocations: 212.9 kB / 483.1 MB, free: 6.312 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/0.4354, allocations: 279.1 kB / 483.4 MB, free: 6.105 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.4354, allocations: 0 / 483.4 MB, free: 6.105 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.4354, allocations: 0 / 483.4 MB, free: 6.105 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.4355, allocations: 8 kB / 483.4 MB, free: 6.098 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.4371, allocations: 1.223 MB / 484.6 MB, free: 5.055 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.4374, allocations: 235.7 kB / 484.8 MB, free: 4.852 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.639e-05/0.4375, allocations: 70.72 kB / 484.9 MB, free: 4.805 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.4376, allocations: 7.953 kB / 484.9 MB, free: 4.797 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.4376, allocations: 36.56 kB / 484.9 MB, free: 4.758 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.4376, allocations: 0 / 484.9 MB, free: 4.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.000607/0.4382, allocations: 240.8 kB / 485.2 MB, free: 4.555 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.4383, allocations: 58.84 kB / 485.2 MB, free: 4.488 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.4385, allocations: 229.2 kB / 485.5 MB, free: 4.293 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.4385, allocations: 25.7 kB / 485.5 MB, free: 4.262 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.538e-05/0.4386, allocations: 217.4 kB / 485.7 MB, free: 4.074 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.4386, allocations: 46.2 kB / 485.7 MB, free: 4.035 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.4387, allocations: 4 kB / 485.7 MB, free: 4.031 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.799e-05/0.4387, allocations: 337.2 kB / 486.1 MB, free: 3.703 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.987e-05/0.4388, allocations: 51.75 kB / 486.1 MB, free: 3.676 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.465e-05/0.4389, allocations: 126.2 kB / 486.2 MB, free: 3.543 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.779e-05/0.439, allocations: 70.02 kB / 486.3 MB, free: 3.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.439, allocations: 0 / 486.3 MB, free: 3.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006036/0.4396, allocations: 326.1 kB / 486.6 MB, free: 3.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.4397, allocations: 4 kB / 486.6 MB, free: 3.227 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.4397, allocations: 4 kB / 486.6 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002768/0.44, allocations: 68.81 kB / 486.7 MB, free: 3.168 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.4401, allocations: 47.36 kB / 486.8 MB, free: 3.125 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.4416, allocations: 1.746 MB / 488.5 MB, free: 1.465 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.4419, allocations: 35.8 kB / 488.5 MB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.4419, allocations: 8 kB / 488.5 MB, free: 1.422 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: add.opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real 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 () * 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.0001468/0.442, allocations: 118.5 kB / 488.7 MB, free: 1.305 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.4421, allocations: 23.72 kB / 488.7 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.149e-05/0.4421, allocations: 20.7 kB / 488.7 MB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4421, allocations: 0 / 488.7 MB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.4421, allocations: 4 kB / 488.7 MB, free: 1.262 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4422, allocations: 7.953 kB / 488.7 MB, free: 1.254 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007816/0.4429, allocations: 0.6105 MB / 489.3 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.443, allocations: 0 / 489.3 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.008e-05/0.443, allocations: 21.67 kB / 489.3 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000152/0.4432, allocations: 62.77 kB / 489.4 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.4432, allocations: 0 / 489.4 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/0.4448, allocations: 1.738 MB / 491.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.4449, allocations: 0 / 491.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000582/0.4454, allocations: 350.6 kB / 491.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.192e-05/0.4455, allocations: 103.4 kB / 491.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.4456, allocations: 8 kB / 491.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.4458, allocations: 21.77 kB / 491.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.4458, allocations: 11.97 kB / 491.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.4458, allocations: 4 kB / 491.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001549/0.446, allocations: 176.7 kB / 491.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.446, allocations: 4 kB / 491.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004426/0.4465, allocations: 87.64 kB / 491.9 MB, free: 14.3 MB / 362.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 () * 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.0001521/0.4466, allocations: 99.25 kB / 492 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004266/0.4471, allocations: 272.9 kB / 492.3 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4471, allocations: 0.6875 kB / 492.3 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.4473, allocations: 192.2 kB / 492.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.4476, allocations: 28.92 kB / 492.5 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007821/0.4484, allocations: 357.1 kB / 492.8 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.4487, allocations: 0.7796 MB / 493.6 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001028/0.4488, allocations: 14.08 kB / 493.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.727e-05/0.4489, allocations: 25.41 kB / 493.6 MB, free: 12.6 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4489, allocations: 0 / 493.6 MB, free: 12.6 MB / 362.7 MB Notification: Performance of Templates: time 0.006059/0.4549, allocations: 2.834 MB / 496.5 MB, free: 9.848 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches