Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.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.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001726/0.001726, allocations: 202.1 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.407/1.407, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009265/0.0009266, allocations: 95.2 kB / 286.7 MB, free: 5.238 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.103e-05/3.101e-05, allocations: 8 kB / 343.7 MB, free: 8.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.11, allocations: 51.47 MB / 395.2 MB, free: 4.793 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3091/0.4192, allocations: 80.98 MB / 476.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.4195, allocations: 77.56 kB / 476.2 MB, free: 11.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01394/0.4335, allocations: 6.219 MB / 482.5 MB, free: 7.016 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.093e-06/0.4335, allocations: 4 kB / 482.5 MB, free: 7.012 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.4335, allocations: 12 kB / 482.5 MB, free: 7 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0006687/0.4342, allocations: 0.5971 MB / 483.1 MB, free: 6.387 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.4342, allocations: 8.031 kB / 483.1 MB, free: 6.379 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.4344, allocations: 59.42 kB / 483.1 MB, free: 6.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.4347, allocations: 308.7 kB / 483.4 MB, free: 6.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.4347, allocations: 11.61 kB / 483.4 MB, free: 6.012 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.4348, allocations: 24 kB / 483.5 MB, free: 5.988 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003545/0.4351, allocations: 236.2 kB / 483.7 MB, free: 5.852 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004219/0.4356, allocations: 305.2 kB / 484 MB, free: 5.629 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4356, allocations: 3.172 kB / 484 MB, free: 5.629 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.4356, allocations: 0 / 484 MB, free: 5.629 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.4356, allocations: 8 kB / 484 MB, free: 5.621 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.4373, allocations: 1.395 MB / 485.4 MB, free: 4.418 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.4376, allocations: 170.7 kB / 485.6 MB, free: 4.301 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.585e-05/0.4377, allocations: 67.7 kB / 485.6 MB, free: 4.258 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.4377, allocations: 3.938 kB / 485.6 MB, free: 4.254 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.4e-05/0.4378, allocations: 37.69 kB / 485.7 MB, free: 4.211 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.4378, allocations: 4 kB / 485.7 MB, free: 4.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.000597/0.4384, allocations: 265.6 kB / 485.9 MB, free: 3.984 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.531e-05/0.4384, allocations: 55.41 kB / 486 MB, free: 3.918 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.4386, allocations: 231.4 kB / 486.2 MB, free: 3.727 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.4386, allocations: 25.7 kB / 486.2 MB, free: 3.695 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.4387, allocations: 230.5 kB / 486.5 MB, free: 3.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.4387, allocations: 57.2 kB / 486.5 MB, free: 3.453 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.028e-05/0.4387, allocations: 2.719 kB / 486.5 MB, free: 3.453 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.895e-05/0.4388, allocations: 332.6 kB / 486.9 MB, free: 3.129 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.84e-05/0.4389, allocations: 61.69 kB / 486.9 MB, free: 3.094 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.632e-05/0.439, allocations: 123.8 kB / 487 MB, free: 2.969 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.813e-05/0.4391, allocations: 81.67 kB / 487.1 MB, free: 2.918 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.4391, allocations: 4 kB / 487.1 MB, free: 2.914 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006053/0.4397, allocations: 332.6 kB / 487.4 MB, free: 2.637 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.4397, allocations: 15.98 kB / 487.5 MB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.4397, allocations: 2.109 kB / 487.5 MB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002368/0.44, allocations: 91.67 kB / 487.6 MB, free: 2.547 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.4401, allocations: 35.92 kB / 487.6 MB, free: 2.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.442, allocations: 2.916 MB / 490.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.4422, allocations: 35.67 kB / 490.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.4422, allocations: 11.44 kB / 490.6 MB, free: 15.55 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: feedback.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: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.4423, allocations: 113 kB / 490.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-05/0.4424, allocations: 27.67 kB / 490.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.055e-05/0.4424, allocations: 25.08 kB / 490.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4425, allocations: 4 kB / 490.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.4425, allocations: 2.812 kB / 490.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4425, allocations: 0 / 490.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.4428, allocations: 314.4 kB / 491 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4428, allocations: 0 / 491 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.999e-05/0.4429, allocations: 15.98 kB / 491 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001747/0.443, allocations: 90.81 kB / 491.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.4431, allocations: 0 / 491.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/0.4452, allocations: 2.908 MB / 494 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4452, allocations: 4.062 kB / 494 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005654/0.4458, allocations: 369.9 kB / 494.4 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.983e-05/0.4458, allocations: 96.77 kB / 494.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.4459, allocations: 7.953 kB / 494.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.4461, allocations: 31.97 kB / 494.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.4462, allocations: 15.67 kB / 494.6 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.4462, allocations: 7.938 kB / 494.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001418/0.4463, allocations: 180.6 kB / 494.7 MB, free: 11.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4463, allocations: 0 / 494.7 MB, free: 11.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000428/0.4468, allocations: 91.69 kB / 494.8 MB, free: 11.38 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 (9): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001331/0.4469, allocations: 111.2 kB / 494.9 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004995/0.4474, allocations: 389.7 kB / 495.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4474, allocations: 0 / 495.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.4477, allocations: 299 kB / 495.6 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.448, allocations: 26.31 kB / 495.6 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000588/0.4486, allocations: 351.3 kB / 496 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.4488, allocations: 0.7872 MB / 496.8 MB, free: 9.496 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.449, allocations: 26.05 kB / 496.8 MB, free: 9.469 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.761e-05/0.449, allocations: 19.44 kB / 496.8 MB, free: 9.449 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.449, allocations: 0 / 496.8 MB, free: 9.449 MB / 362.7 MB Notification: Performance of Templates: time 0.00584/0.4549, allocations: 3.16 MB / 500 MB, free: 6.367 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches