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.0009673/0.0009676, allocations: 96.7 kB / 17 MB, free: 6.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001194/0.001194, allocations: 198.8 kB / 17.91 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.579/1.579, allocations: 227.7 MB / 246.4 MB, free: 9.82 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000258/0.0002582, allocations: 8 kB / 307.1 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.127, allocations: 51.53 MB / 358.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.003742/0.1307, allocations: 2.9 MB / 361.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.1329, allocations: 0.8225 MB / 362.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004909/0.1334, allocations: 8 kB / 362.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002449/0.1337, allocations: 51.61 kB / 362.4 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003936/0.1341, allocations: 99.16 kB / 362.5 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.1345, allocations: 91.88 kB / 362.6 MB, free: 9.434 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006332/0.1351, allocations: 458 kB / 363.1 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003002/0.1355, allocations: 136.3 kB / 363.2 MB, free: 8.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003627/0.1358, allocations: 147.4 kB / 363.3 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002778/0.1361, allocations: 167.2 kB / 363.5 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.156e-05/0.1362, allocations: 24 kB / 363.5 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.1363, allocations: 31.94 kB / 363.6 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.94e-05/0.1364, allocations: 67.69 kB / 363.6 MB, free: 8.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.1365, allocations: 97.52 kB / 363.7 MB, free: 8.309 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000413/0.1369, allocations: 447 kB / 364.1 MB, free: 7.871 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1369, allocations: 0 / 364.1 MB, free: 7.871 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1369, allocations: 0 / 364.1 MB, free: 7.871 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.973e-05/0.1369, allocations: 0 / 364.1 MB, free: 7.871 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.001134/0.1381, allocations: 0.6549 MB / 364.8 MB, free: 7.168 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.1381, allocations: 8.031 kB / 364.8 MB, free: 7.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002343/0.1384, allocations: 51.44 kB / 364.9 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/0.1388, allocations: 307.5 kB / 365.2 MB, free: 6.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.1389, allocations: 29 kB / 365.2 MB, free: 6.742 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-05/0.1389, allocations: 35.95 kB / 365.2 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007922/0.1397, allocations: 394.2 kB / 365.6 MB, free: 6.312 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1397, allocations: 0 / 365.6 MB, free: 6.312 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.125e-05/0.1398, allocations: 16 kB / 365.6 MB, free: 6.297 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.1398, allocations: 8 kB / 365.6 MB, free: 6.289 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007017/0.1405, allocations: 319.7 kB / 365.9 MB, free: 5.973 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002331/0.1428, allocations: 1.463 MB / 367.4 MB, free: 4.418 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005958/0.1435, allocations: 238.7 kB / 367.6 MB, free: 4.176 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.1437, allocations: 108.8 kB / 367.7 MB, free: 4.066 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.1437, allocations: 3.984 kB / 367.8 MB, free: 4.062 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.1437, allocations: 30.56 kB / 367.8 MB, free: 4.023 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.1438, allocations: 4 kB / 367.8 MB, free: 4.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.002015/0.1458, allocations: 0.808 MB / 368.6 MB, free: 3.164 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.1458, allocations: 55.41 kB / 368.6 MB, free: 3.098 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003337/0.1462, allocations: 316.6 kB / 369 MB, free: 2.781 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.1462, allocations: 29.7 kB / 369 MB, free: 2.746 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.1463, allocations: 231.6 kB / 369.2 MB, free: 2.512 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.1464, allocations: 55.2 kB / 369.3 MB, free: 2.457 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.358e-05/0.1464, allocations: 4 kB / 369.3 MB, free: 2.453 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1465, allocations: 338.8 kB / 369.6 MB, free: 2.113 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.1467, allocations: 91.89 kB / 369.7 MB, free: 2.023 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.147, allocations: 165.4 kB / 369.9 MB, free: 1.828 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.1472, allocations: 107.9 kB / 370 MB, free: 1.723 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1473, allocations: 0 / 370 MB, free: 1.723 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000918/0.1482, allocations: 438.8 kB / 370.4 MB, free: 1.281 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1482, allocations: 7.938 kB / 370.4 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.1482, allocations: 4 kB / 370.4 MB, free: 1.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004381/0.1487, allocations: 121.7 kB / 370.5 MB, free: 1.145 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.1488, allocations: 39.91 kB / 370.6 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2334/0.3823, allocations: 3.304 MB / 373.9 MB, free: 17.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.3826, allocations: 39.05 kB / 373.9 MB, free: 17.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.3826, allocations: 13.55 kB / 373.9 MB, free: 17.22 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.0002157/0.3829, allocations: 156.3 kB / 374.1 MB, free: 17.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-05/0.3829, allocations: 33.66 kB / 374.1 MB, free: 17.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.213e-05/0.383, allocations: 30.59 kB / 374.1 MB, free: 17.1 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.383, allocations: 1.875 kB / 374.1 MB, free: 17.1 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.383, allocations: 0.9688 kB / 374.1 MB, free: 17.1 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.383, allocations: 1.172 kB / 374.1 MB, free: 17.1 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004684/0.3835, allocations: 370 kB / 374.5 MB, free: 16.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.3835, allocations: 0 / 374.5 MB, free: 16.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.245e-05/0.3836, allocations: 18.8 kB / 374.5 MB, free: 16.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003789/0.384, allocations: 115.9 kB / 374.6 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.384, allocations: 4.094 kB / 374.6 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002924/0.387, allocations: 3.202 MB / 377.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.387, allocations: 1.25 kB / 377.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009019/0.3879, allocations: 457.8 kB / 378.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.158e-05/0.388, allocations: 103.1 kB / 378.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.388, allocations: 6.188 kB / 378.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.3882, allocations: 29.38 kB / 378.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.665e-05/0.3883, allocations: 16.39 kB / 378.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.3883, allocations: 4.422 kB / 378.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003117/0.3886, allocations: 224.1 kB / 378.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.102e-06/0.3886, allocations: 0 / 378.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005582/0.3892, allocations: 102.3 kB / 378.8 MB, free: 13.77 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.0001432/0.3893, allocations: 103 kB / 378.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.3904, allocations: 0.5369 MB / 379.4 MB, free: 13.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.3904, allocations: 5.375 kB / 379.4 MB, free: 13.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003484/0.3907, allocations: 335.5 kB / 379.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.3912, allocations: 57.97 kB / 379.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.3922, allocations: 0.6925 MB / 380.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.3925, allocations: 0.7852 MB / 381.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.3926, allocations: 24.8 kB / 381.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.901e-05/0.3927, allocations: 20.22 kB / 381.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3927, allocations: 0 / 381.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of Templates: time 0.009088/0.4018, allocations: 3.578 MB / 384.9 MB, free: 11.68 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches