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/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.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/ModelicaServices trunk/package.mo): time 0.000947/0.0009471, allocations: 99.34 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001243/0.001243, allocations: 197.4 kB / 17.9 MB, free: 5.945 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.2 MB / 245.9 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002696/0.0002696, allocations: 8 kB / 306.6 MB, free: 1.391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1272, allocations: 51.5 MB / 358.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.003482/0.1307, allocations: 2.74 MB / 360.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.1323, allocations: 0.8305 MB / 361.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.1324, allocations: 4 kB / 361.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.319e-05/0.1325, allocations: 43.66 kB / 361.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.1328, allocations: 151.5 kB / 361.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.1331, allocations: 83.91 kB / 361.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004154/0.1335, allocations: 319.3 kB / 362.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002733/0.1338, allocations: 148.3 kB / 362.4 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002581/0.1341, allocations: 151.4 kB / 362.5 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.1343, allocations: 163.2 kB / 362.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.04e-05/0.1344, allocations: 23.98 kB / 362.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.83e-05/0.1344, allocations: 24 kB / 362.7 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.163e-05/0.1345, allocations: 67.75 kB / 362.8 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.1346, allocations: 97.52 kB / 362.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004008/0.135, allocations: 439 kB / 363.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.135, allocations: 0 / 363.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.135, allocations: 0 / 363.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1351, allocations: 0 / 363.3 MB, free: 8.605 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001093/0.1362, allocations: 0.6588 MB / 364 MB, free: 7.898 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.1362, allocations: 8.031 kB / 364 MB, free: 7.891 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.1364, allocations: 51.53 kB / 364.1 MB, free: 7.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.1368, allocations: 307.4 kB / 364.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.1368, allocations: 28.95 kB / 364.4 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.494e-05/0.1369, allocations: 32 kB / 364.4 MB, free: 7.441 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007081/0.1376, allocations: 386.2 kB / 364.8 MB, free: 7.055 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.1376, allocations: 4 kB / 364.8 MB, free: 7.051 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.1377, allocations: 12 kB / 364.8 MB, free: 7.039 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.1377, allocations: 12 kB / 364.8 MB, free: 7.027 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006319/0.1383, allocations: 307.8 kB / 365.1 MB, free: 6.727 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.1406, allocations: 1.463 MB / 366.6 MB, free: 5.172 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006165/0.1412, allocations: 242.7 kB / 366.8 MB, free: 4.926 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.1413, allocations: 8 kB / 366.8 MB, free: 4.918 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.1413, allocations: 30.56 kB / 366.9 MB, free: 4.879 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.442e-06/0.1413, allocations: 0 / 366.9 MB, free: 4.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.002247/0.1436, allocations: 0.804 MB / 367.7 MB, free: 4.027 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.1436, allocations: 51.41 kB / 367.7 MB, free: 3.965 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003657/0.144, allocations: 311.3 kB / 368 MB, free: 3.656 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.1441, allocations: 33.7 kB / 368 MB, free: 3.617 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.1442, allocations: 227.7 kB / 368.3 MB, free: 3.387 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.742e-05/0.1443, allocations: 59.14 kB / 368.3 MB, free: 3.328 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/0.1443, allocations: 4 kB / 368.3 MB, free: 3.324 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.1445, allocations: 334.8 kB / 368.7 MB, free: 2.988 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.1447, allocations: 87.95 kB / 368.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.145, allocations: 157.4 kB / 368.9 MB, free: 2.715 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.1452, allocations: 118.2 kB / 369 MB, free: 2.602 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.1453, allocations: 3.984 kB / 369 MB, free: 2.598 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009925/0.1463, allocations: 442.8 kB / 369.4 MB, free: 2.152 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.1463, allocations: 7.984 kB / 369.5 MB, free: 2.145 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.1463, allocations: 7.938 kB / 369.5 MB, free: 2.137 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004689/0.1468, allocations: 117.7 kB / 369.6 MB, free: 2.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.1469, allocations: 43.92 kB / 369.6 MB, free: 1.973 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2457/0.3927, allocations: 3.342 MB / 373 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003157/0.393, allocations: 44.09 kB / 373 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.3931, allocations: 8.719 kB / 373 MB, free: 17.86 MB / 302.1 MB 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 () * Number of clocked 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.0001858/0.3933, allocations: 157.5 kB / 373.2 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.204e-05/0.3933, allocations: 29.08 kB / 373.2 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.31e-05/0.3934, allocations: 34.98 kB / 373.2 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3934, allocations: 1.062 kB / 373.2 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3934, allocations: 3.891 kB / 373.2 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3934, allocations: 1.672 kB / 373.2 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004006/0.3938, allocations: 366.5 kB / 373.6 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3938, allocations: 1.062 kB / 373.6 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.49e-05/0.3939, allocations: 14.38 kB / 373.6 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003961/0.3943, allocations: 120.2 kB / 373.7 MB, free: 17.53 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.3943, allocations: 1.641 kB / 373.7 MB, free: 17.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003263/0.3976, allocations: 3.251 MB / 377 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3976, allocations: 0 / 377 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009854/0.3986, allocations: 444.6 kB / 377.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.939e-05/0.3987, allocations: 111.2 kB / 377.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.3988, allocations: 4.609 kB / 377.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.399, allocations: 32.27 kB / 377.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.607e-05/0.3991, allocations: 18.14 kB / 377.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.3991, allocations: 13.22 kB / 377.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002841/0.3994, allocations: 219.3 kB / 377.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3994, allocations: 0.6562 kB / 377.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006041/0.4, allocations: 94.66 kB / 377.9 MB, free: 14.59 MB / 302.1 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 () * Number of clocked 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.0001407/0.4002, allocations: 103.4 kB / 378 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.4013, allocations: 0.5381 MB / 378.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.4013, allocations: 0.875 kB / 378.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004344/0.4018, allocations: 339.8 kB / 378.9 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.4021, allocations: 51.45 kB / 378.9 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.4033, allocations: 0.6776 MB / 379.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.4035, allocations: 0.7897 MB / 380.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000114/0.4037, allocations: 30.3 kB / 380.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.4037, allocations: 20.98 kB / 380.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4037, allocations: 0 / 380.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of Templates: time 0.008544/0.4123, allocations: 3.551 MB / 384 MB, free: 12.71 MB / 302.1 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