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.001083/0.001083, allocations: 118.8 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001283/0.001283, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 63.91 kB / 358.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3369, allocations: 50.55 MB / 409.3 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.00559/0.3426, allocations: 4.468 MB / 413.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002484/0.3451, allocations: 1.281 MB / 415 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000315/0.3454, allocations: 15.88 kB / 415.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004683/0.3459, allocations: 142.8 kB / 415.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004526/0.3464, allocations: 214.2 kB / 415.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005111/0.3469, allocations: 215.6 kB / 415.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007027/0.3476, allocations: 0.763 MB / 416.4 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000406/0.3481, allocations: 270.5 kB / 416.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003923/0.3485, allocations: 302.9 kB / 416.9 MB, free: 9.848 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003661/0.3488, allocations: 326.5 kB / 417.3 MB, free: 9.527 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.411e-05/0.3489, allocations: 68 kB / 417.3 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.3491, allocations: 68 kB / 417.4 MB, free: 9.395 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.3492, allocations: 151.4 kB / 417.5 MB, free: 9.246 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000297/0.3495, allocations: 342.3 kB / 417.9 MB, free: 8.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007034/0.3502, allocations: 0.7601 MB / 418.6 MB, free: 8.152 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3502, allocations: 0 / 418.6 MB, free: 8.152 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3502, allocations: 0 / 418.6 MB, free: 8.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.3502, allocations: 0 / 418.6 MB, free: 8.152 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.001726/0.352, allocations: 0.9625 MB / 419.6 MB, free: 7.137 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.352, allocations: 8.031 kB / 419.6 MB, free: 7.129 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003113/0.3523, allocations: 92.08 kB / 419.7 MB, free: 7.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005262/0.3529, allocations: 425.8 kB / 420.1 MB, free: 6.586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.3529, allocations: 41.69 kB / 420.2 MB, free: 6.547 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.768e-05/0.353, allocations: 52.38 kB / 420.2 MB, free: 6.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000944/0.354, allocations: 0.5534 MB / 420.8 MB, free: 5.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.354, allocations: 0 / 420.8 MB, free: 5.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.547e-05/0.3541, allocations: 20 kB / 420.8 MB, free: 5.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.3541, allocations: 16 kB / 420.8 MB, free: 5.895 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008664/0.355, allocations: 421 kB / 421.2 MB, free: 5.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002872/0.3578, allocations: 1.828 MB / 423 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008278/0.3587, allocations: 0.532 MB / 423.6 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009486/0.3597, allocations: 449 kB / 424 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.813e-05/0.3597, allocations: 4.328 kB / 424 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005404/0.3603, allocations: 306.1 kB / 424.3 MB, free: 2.207 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 2.154e-06/0.3603, allocations: 0 / 424.3 MB, free: 2.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=41): time 0.00372/0.364, allocations: 1.306 MB / 425.6 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.3641, allocations: 239.3 kB / 425.8 MB, free: 0.582 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005273/0.3647, allocations: 437.8 kB / 426.3 MB, free: 152 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/0.3647, allocations: 33.7 kB / 426.3 MB, free: 112 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.365, allocations: 316.1 kB / 426.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.3651, allocations: 134 kB / 426.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.3652, allocations: 90.25 kB / 426.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002125/0.3655, allocations: 362.8 kB / 427.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/0.3658, allocations: 149 kB / 427.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/0.3663, allocations: 329.5 kB / 427.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007654/0.3671, allocations: 447.5 kB / 428.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.3671, allocations: 3.938 kB / 428.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001707/0.3688, allocations: 0.7908 MB / 428.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.3688, allocations: 11.94 kB / 428.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.3688, allocations: 4 kB / 428.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007287/0.3696, allocations: 212.7 kB / 429.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.3699, allocations: 71.91 kB / 429.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004864/0.3748, allocations: 3.135 MB / 432.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005056/0.3753, allocations: 87.47 kB / 432.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.3753, allocations: 20 kB / 432.4 MB, free: 9.699 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.0002743/0.3756, allocations: 190.1 kB / 432.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.475e-05/0.3757, allocations: 47.44 kB / 432.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.32e-05/0.3758, allocations: 56.97 kB / 432.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3758, allocations: 4 kB / 432.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3758, allocations: 0 / 432.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.3758, allocations: 3.984 kB / 432.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002159/0.378, allocations: 1.285 MB / 434 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.378, allocations: 0 / 434 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.3782, allocations: 39.92 kB / 434 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006185/0.3788, allocations: 212.6 kB / 434.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.3788, allocations: 7.984 kB / 434.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004135/0.383, allocations: 3.047 MB / 437.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.383, allocations: 0 / 437.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.3849, allocations: 0.9374 MB / 438.2 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.385, allocations: 128.5 kB / 438.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.839e-05/0.3851, allocations: 16 kB / 438.4 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003225/0.3854, allocations: 39.91 kB / 438.4 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.3855, allocations: 32.05 kB / 438.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.3856, allocations: 19.97 kB / 438.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003581/0.3859, allocations: 315.1 kB / 438.8 MB, free: 3.098 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3859, allocations: 0 / 438.8 MB, free: 3.098 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007217/0.3867, allocations: 179.6 kB / 439 MB, free: 2.922 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.0001968/0.3869, allocations: 115.2 kB / 439.1 MB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001484/0.3884, allocations: 0.6849 MB / 439.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3884, allocations: 0 / 439.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007523/0.3891, allocations: 421.1 kB / 440.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005047/0.3897, allocations: 77.86 kB / 440.2 MB, free: 1.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.3915, allocations: 0.9256 MB / 441.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.3919, allocations: 0.8629 MB / 442 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001727/0.3921, allocations: 48.45 kB / 442.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.3922, allocations: 39.42 kB / 442.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3922, allocations: 0 / 442.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of Templates: time 0.01328/0.4055, allocations: 7.721 MB / 449.8 MB, free: 8.035 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins/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