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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0012/0.0012, allocations: 108 kB / 18.44 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001322/0.001322, allocations: 211.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2492, allocations: 50.55 MB / 410 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.004991/0.2543, allocations: 4.479 MB / 414.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.2563, allocations: 1.273 MB / 415.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002186/0.2565, allocations: 11.94 kB / 415.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003894/0.2569, allocations: 146.8 kB / 415.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003609/0.2573, allocations: 202.2 kB / 416.1 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.2577, allocations: 215.6 kB / 416.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006777/0.2584, allocations: 0.7668 MB / 417.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003869/0.2588, allocations: 266.5 kB / 417.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003538/0.2592, allocations: 294.9 kB / 417.6 MB, free: 9.895 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003608/0.2595, allocations: 330.5 kB / 417.9 MB, free: 9.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.829e-05/0.2596, allocations: 64 kB / 418 MB, free: 9.508 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.2598, allocations: 68 kB / 418.1 MB, free: 9.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.2599, allocations: 151.4 kB / 418.2 MB, free: 9.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000263/0.2602, allocations: 350.2 kB / 418.5 MB, free: 8.949 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006422/0.2608, allocations: 0.7563 MB / 419.3 MB, free: 8.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2608, allocations: 0 / 419.3 MB, free: 8.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2608, allocations: 0 / 419.3 MB, free: 8.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.2609, allocations: 0 / 419.3 MB, free: 8.195 MB / 334.1 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.001558/0.2624, allocations: 0.9625 MB / 420.3 MB, free: 7.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.2625, allocations: 8.031 kB / 420.3 MB, free: 7.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000283/0.2628, allocations: 92.06 kB / 420.4 MB, free: 7.082 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/0.2633, allocations: 429.8 kB / 420.8 MB, free: 6.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.2633, allocations: 41.69 kB / 420.8 MB, free: 6.586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.26e-05/0.2634, allocations: 52.38 kB / 420.9 MB, free: 6.535 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009202/0.2643, allocations: 0.5534 MB / 421.4 MB, free: 5.969 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.2643, allocations: 0 / 421.4 MB, free: 5.969 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.082e-05/0.2644, allocations: 24 kB / 421.5 MB, free: 5.945 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.2644, allocations: 16 kB / 421.5 MB, free: 5.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008121/0.2652, allocations: 421 kB / 421.9 MB, free: 5.516 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002689/0.2679, allocations: 1.812 MB / 423.7 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007684/0.2687, allocations: 0.5305 MB / 424.2 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000988/0.2697, allocations: 461 kB / 424.7 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.2697, allocations: 4.328 kB / 424.7 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004969/0.2702, allocations: 298.1 kB / 425 MB, free: 2.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 1.703e-06/0.2703, allocations: 4 kB / 425 MB, free: 2.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=41): time 0.003792/0.2741, allocations: 1.306 MB / 426.3 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.995e-05/0.2742, allocations: 239.3 kB / 426.5 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004386/0.2746, allocations: 441.8 kB / 426.9 MB, free: 188 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.2747, allocations: 33.7 kB / 427 MB, free: 148 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.2749, allocations: 316.2 kB / 427.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.849e-05/0.275, allocations: 137.9 kB / 427.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.2751, allocations: 86.25 kB / 427.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.2752, allocations: 358.8 kB / 427.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/0.2755, allocations: 149 kB / 428 MB, free: 15.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000421/0.276, allocations: 333.5 kB / 428.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006838/0.2767, allocations: 435.5 kB / 428.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.2767, allocations: 7.938 kB / 428.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001702/0.2784, allocations: 0.7947 MB / 429.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2784, allocations: 8 kB / 429.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.2784, allocations: 4 kB / 429.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006536/0.2791, allocations: 216.1 kB / 429.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/0.2794, allocations: 75.91 kB / 429.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004634/0.284, allocations: 3.125 MB / 433 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004703/0.2845, allocations: 83.47 kB / 433.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.2846, allocations: 23.94 kB / 433.1 MB, free: 9.75 MB / 350.1 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,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002349/0.2848, allocations: 186.1 kB / 433.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.845e-05/0.2849, allocations: 47.44 kB / 433.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.285, allocations: 64.95 kB / 433.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.285, allocations: 7.984 kB / 433.4 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.285, allocations: 3.984 kB / 433.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.285, allocations: 0 / 433.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/0.2871, allocations: 1.285 MB / 434.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2872, allocations: 0 / 434.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.2873, allocations: 39.91 kB / 434.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000561/0.2879, allocations: 216.6 kB / 434.9 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.2879, allocations: 4 kB / 434.9 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004053/0.292, allocations: 3.047 MB / 438 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.292, allocations: 8 kB / 438 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.2939, allocations: 0.9374 MB / 438.9 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.294, allocations: 132.4 kB / 439 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.985e-05/0.2941, allocations: 11.98 kB / 439.1 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003615/0.2945, allocations: 40.03 kB / 439.1 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.49e-05/0.2946, allocations: 35.95 kB / 439.1 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.2946, allocations: 8 kB / 439.1 MB, free: 3.441 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003183/0.2949, allocations: 307.1 kB / 439.4 MB, free: 3.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2949, allocations: 0 / 439.4 MB, free: 3.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006369/0.2956, allocations: 187.6 kB / 439.6 MB, free: 2.965 MB / 350.1 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 (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(3,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001677/0.2957, allocations: 115.2 kB / 439.7 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001527/0.2973, allocations: 0.6854 MB / 440.4 MB, free: 2.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.2973, allocations: 4.125 kB / 440.4 MB, free: 2.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006904/0.298, allocations: 416.4 kB / 440.8 MB, free: 1.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005018/0.2985, allocations: 94.05 kB / 440.9 MB, free: 1.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.3002, allocations: 0.9508 MB / 441.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.3006, allocations: 0.859 MB / 442.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.683e-05/0.3007, allocations: 43.44 kB / 442.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3007, allocations: 0 / 442.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of Templates: time 0.01139/0.3121, allocations: 8.463 MB / 451.2 MB, free: 7.293 MB / 366.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches