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.0009753/0.0009753, allocations: 98.36 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001263/0.001263, allocations: 192.2 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 227.7 MB / 246.4 MB, free: 11.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002621/0.0002624, allocations: 11.98 kB / 307.1 MB, free: 1.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1295, allocations: 51.52 MB / 358.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.00507/0.1346, allocations: 3.883 MB / 362.5 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002993/0.1376, allocations: 1.223 MB / 363.7 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006795/0.1383, allocations: 8 kB / 363.8 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005655/0.1389, allocations: 115.1 kB / 363.9 MB, free: 8.402 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007276/0.1396, allocations: 162.7 kB / 364 MB, free: 8.242 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005397/0.1402, allocations: 155.8 kB / 364.2 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007566/0.141, allocations: 0.7044 MB / 364.9 MB, free: 7.379 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003692/0.1413, allocations: 211.9 kB / 365.1 MB, free: 7.172 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003055/0.1417, allocations: 239 kB / 365.3 MB, free: 6.938 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000314/0.142, allocations: 274.7 kB / 365.6 MB, free: 6.668 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.855e-05/0.1421, allocations: 32 kB / 365.6 MB, free: 6.637 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.1422, allocations: 39.98 kB / 365.7 MB, free: 6.598 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.1423, allocations: 107.5 kB / 365.8 MB, free: 6.492 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.1424, allocations: 141.4 kB / 365.9 MB, free: 6.348 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004905/0.1429, allocations: 0.5416 MB / 366.4 MB, free: 5.805 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.1429, allocations: 8 kB / 366.5 MB, free: 5.797 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1429, allocations: 0 / 366.5 MB, free: 5.797 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.143, allocations: 4 kB / 366.5 MB, free: 5.793 MB / 302.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.001442/0.1444, allocations: 0.8573 MB / 367.3 MB, free: 4.887 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1445, allocations: 19.91 kB / 367.3 MB, free: 4.867 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002966/0.1448, allocations: 99.12 kB / 367.4 MB, free: 4.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005052/0.1453, allocations: 396.8 kB / 367.8 MB, free: 4.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.626e-05/0.1453, allocations: 45.27 kB / 367.9 MB, free: 4.293 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.738e-05/0.1454, allocations: 55.91 kB / 367.9 MB, free: 4.238 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009662/0.1464, allocations: 0.5535 MB / 368.5 MB, free: 3.672 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.1464, allocations: 0 / 368.5 MB, free: 3.672 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.017e-05/0.1465, allocations: 24 kB / 368.5 MB, free: 3.648 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.1465, allocations: 12 kB / 368.5 MB, free: 3.637 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008442/0.1473, allocations: 433 kB / 368.9 MB, free: 3.215 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002855/0.1502, allocations: 1.863 MB / 370.8 MB, free: 1.266 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000814/0.151, allocations: 0.5313 MB / 371.3 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008251/0.1519, allocations: 430.3 kB / 371.7 MB, free: 276 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.1519, allocations: 8.266 kB / 371.8 MB, free: 268 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1947/0.3467, allocations: 297.6 kB / 372 MB, free: 19.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 3.666e-06/0.3467, allocations: 0 / 372 MB, free: 19.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.004486/0.3512, allocations: 1.359 MB / 373.4 MB, free: 18.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.243e-05/0.3513, allocations: 238.4 kB / 373.6 MB, free: 18.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005867/0.3519, allocations: 437.9 kB / 374.1 MB, free: 18.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.3519, allocations: 35.67 kB / 374.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.3521, allocations: 315.8 kB / 374.4 MB, free: 18.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.25e-05/0.3522, allocations: 132.5 kB / 374.5 MB, free: 18.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.3523, allocations: 12.19 kB / 374.5 MB, free: 18.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.247e-05/0.3524, allocations: 356.7 kB / 374.9 MB, free: 17.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/0.3527, allocations: 156.1 kB / 375.1 MB, free: 17.97 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004982/0.3532, allocations: 323.9 kB / 375.4 MB, free: 17.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004804/0.3537, allocations: 194.7 kB / 375.6 MB, free: 17.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3537, allocations: 0 / 375.6 MB, free: 17.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001752/0.3555, allocations: 0.8167 MB / 376.4 MB, free: 17.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.3555, allocations: 5.5 kB / 376.4 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.3555, allocations: 4.203 kB / 376.4 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007077/0.3563, allocations: 221.6 kB / 376.6 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.3566, allocations: 77.98 kB / 376.7 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004324/0.3609, allocations: 2.935 MB / 379.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004779/0.3614, allocations: 90.3 kB / 379.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.3614, allocations: 20.14 kB / 379.7 MB, free: 15.64 MB / 302.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,$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 (42): * Single equations (assignments): 41 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002458/0.3617, allocations: 180 kB / 379.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.556e-05/0.3618, allocations: 58.5 kB / 380 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.3619, allocations: 54 kB / 380 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3619, allocations: 3.969 kB / 380 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3619, allocations: 1.406 kB / 380 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3619, allocations: 1.875 kB / 380 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/0.3641, allocations: 1.314 MB / 381.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3642, allocations: 2.625 kB / 381.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.3643, allocations: 33.95 kB / 381.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006129/0.365, allocations: 221.7 kB / 381.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.365, allocations: 7.844 kB / 381.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003666/0.3687, allocations: 2.815 MB / 384.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3687, allocations: 0 / 384.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.3707, allocations: 0.9742 MB / 385.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.3708, allocations: 144.1 kB / 385.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/0.3709, allocations: 12.94 kB / 385.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/0.3712, allocations: 51.58 kB / 385.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.314e-05/0.3713, allocations: 31.22 kB / 385.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.3714, allocations: 13.03 kB / 385.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003533/0.3717, allocations: 303.5 kB / 385.9 MB, free: 12.01 MB / 302.1 MB Notification: Performance of sort global known variables: time 3e-07/0.3717, allocations: 0 / 385.9 MB, free: 12.01 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007325/0.3725, allocations: 178 kB / 386.1 MB, free: 11.98 MB / 302.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 (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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001502/0.3726, allocations: 118.2 kB / 386.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001503/0.3741, allocations: 0.6815 MB / 386.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3741, allocations: 0 / 386.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007074/0.3749, allocations: 440.8 kB / 387.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005158/0.3754, allocations: 81.23 kB / 387.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.377, allocations: 1.108 MB / 388.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.3773, allocations: 0.8685 MB / 389.4 MB, free: 9.934 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001992/0.3775, allocations: 48.22 kB / 389.4 MB, free: 9.918 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.514e-05/0.3776, allocations: 39.03 kB / 389.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3776, allocations: 0 / 389.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of Templates: time 0.01243/0.3901, allocations: 6.787 MB / 396.2 MB, free: 7.25 MB / 302.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