Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001207/0.001207, allocations: 199.8 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 226.5 MB / 245.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007773/0.0007772, allocations: 94.19 kB / 297.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002623/0.0002624, allocations: 8 kB / 358.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2934, allocations: 51.29 MB / 409.4 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.4178, allocations: 83.61 MB / 493 MB, free: 7.867 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/0.4182, allocations: 83.95 kB / 493.1 MB, free: 7.785 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02741/0.4456, allocations: 9.953 MB / 0.4912 GB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4456, allocations: 0 / 0.4912 GB, free: 13.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.922e-05/0.4457, allocations: 12 kB / 0.4913 GB, free: 13.79 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001964/0.4477, allocations: 0.8508 MB / 0.4921 GB, free: 12.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.38e-05/0.4477, allocations: 15.97 kB / 0.4921 GB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004955/0.4482, allocations: 92.08 kB / 0.4922 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007971/0.4491, allocations: 415.2 kB / 0.4926 GB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.017e-05/0.4491, allocations: 45.69 kB / 0.4926 GB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.944e-05/0.4492, allocations: 52.38 kB / 0.4927 GB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.4504, allocations: 0.55 MB / 0.4932 GB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/0.4504, allocations: 4.188 kB / 0.4932 GB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.314e-05/0.4505, allocations: 27.94 kB / 0.4932 GB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.4505, allocations: 16 kB / 0.4933 GB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009965/0.4515, allocations: 429 kB / 0.4937 GB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003601/0.4551, allocations: 1.859 MB / 0.4955 GB, free: 9.258 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009078/0.456, allocations: 0.5327 MB / 0.496 GB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.4572, allocations: 429.1 kB / 0.4964 GB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.865e-05/0.4573, allocations: 8.328 kB / 0.4964 GB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006731/0.4579, allocations: 310.1 kB / 0.4967 GB, free: 7.914 MB / 378.7 MB Notification: Performance of pre-optimization done (n=41): time 3.477e-06/0.458, allocations: 0 / 0.4967 GB, free: 7.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=41): time 0.003928/0.4619, allocations: 1.255 MB / 0.4979 GB, free: 6.629 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002074/0.4621, allocations: 239.3 kB / 0.4982 GB, free: 6.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007284/0.4629, allocations: 433.9 kB / 0.4986 GB, free: 5.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.238e-05/0.4629, allocations: 33.7 kB / 0.4986 GB, free: 5.871 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00031/0.4633, allocations: 312.1 kB / 0.4989 GB, free: 5.559 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.4634, allocations: 138 kB / 0.499 GB, free: 5.422 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.4635, allocations: 12 kB / 0.4991 GB, free: 5.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.4637, allocations: 358.7 kB / 0.4994 GB, free: 5.051 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000394/0.4641, allocations: 161 kB / 0.4996 GB, free: 4.895 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005152/0.4646, allocations: 329.6 kB / 0.4999 GB, free: 4.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000891/0.4655, allocations: 459.2 kB / 0.5003 GB, free: 4.004 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.4655, allocations: 7.938 kB / 0.5003 GB, free: 3.996 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001953/0.4675, allocations: 0.7947 MB / 0.5011 GB, free: 3.191 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.449e-05/0.4675, allocations: 4 kB / 0.5011 GB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.4675, allocations: 4 kB / 0.5011 GB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008543/0.4684, allocations: 203.5 kB / 0.5013 GB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003881/0.4688, allocations: 91.77 kB / 0.5014 GB, free: 2.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004925/0.4737, allocations: 2.601 MB / 0.5039 GB, free: 172 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006232/0.4744, allocations: 87.47 kB / 0.504 GB, free: 84 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.763e-05/0.4745, allocations: 27.92 kB / 0.504 GB, free: 56 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.2816/0.7561, allocations: 179.5 kB / 0.5042 GB, free: 93.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/0.7563, allocations: 48.94 kB / 0.5042 GB, free: 93.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000182/0.7565, allocations: 53 kB / 0.5043 GB, free: 93.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/0.7565, allocations: 5.453 kB / 0.5043 GB, free: 93.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.7565, allocations: 0.75 kB / 0.5043 GB, free: 93.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.7566, allocations: 6.188 kB / 0.5043 GB, free: 93.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003607/0.7602, allocations: 1.293 MB / 0.5056 GB, free: 92.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.7602, allocations: 4.469 kB / 0.5056 GB, free: 92.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/0.7605, allocations: 49.41 kB / 0.5056 GB, free: 92.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006506/0.7611, allocations: 198.1 kB / 0.5058 GB, free: 92.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.7612, allocations: 8.484 kB / 0.5058 GB, free: 92.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003632/0.7648, allocations: 2.548 MB / 0.5083 GB, free: 91.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7648, allocations: 0 / 0.5083 GB, free: 91.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/0.7668, allocations: 0.9624 MB / 0.5092 GB, free: 91.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.767, allocations: 130.7 kB / 0.5094 GB, free: 91.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.366e-05/0.767, allocations: 9.578 kB / 0.5094 GB, free: 91.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/0.7674, allocations: 49.08 kB / 0.5094 GB, free: 91.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.7676, allocations: 30.86 kB / 0.5095 GB, free: 91.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/0.7676, allocations: 13.62 kB / 0.5095 GB, free: 91.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004858/0.7681, allocations: 301.7 kB / 0.5098 GB, free: 91.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7681, allocations: 3.125 kB / 0.5098 GB, free: 91.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008364/0.7689, allocations: 189.6 kB / 0.5099 GB, free: 91.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {3 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002335/0.7692, allocations: 128.2 kB / 0.5101 GB, free: 91.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.7703, allocations: 0.5935 MB / 0.5106 GB, free: 90.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.7703, allocations: 4.328 kB / 0.5106 GB, free: 90.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005855/0.7709, allocations: 394 kB / 0.511 GB, free: 90.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005122/0.7714, allocations: 83.36 kB / 0.5111 GB, free: 90.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.7729, allocations: 1.117 MB / 0.5122 GB, free: 90.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.7732, allocations: 0.8602 MB / 0.513 GB, free: 89.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002125/0.7734, allocations: 51.22 kB / 0.5131 GB, free: 89.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.228e-05/0.7735, allocations: 30.53 kB / 0.5131 GB, free: 89.45 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.7735, allocations: 0 / 0.5131 GB, free: 89.45 MB / 378.7 MB Notification: Performance of Templates: time 0.01078/0.7843, allocations: 6.809 MB / 0.5198 GB, free: 89.12 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches