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.001144/0.001143, allocations: 197.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009672/0.0009672, allocations: 95.52 kB / 292.1 MB, free: 6.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.959e-05/2.986e-05, allocations: 4 kB / 350.6 MB, free: 2.492 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1115, allocations: 51.48 MB / 402 MB, free: 14.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3227/0.4343, allocations: 81.64 MB / 483.7 MB, free: 7.785 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.4346, allocations: 85.3 kB / 483.8 MB, free: 7.742 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0141/0.4487, allocations: 6.286 MB / 490 MB, free: 2.484 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4487, allocations: 0 / 490 MB, free: 2.484 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.4487, allocations: 8 kB / 490.1 MB, free: 2.477 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.0006957/0.4494, allocations: 0.6063 MB / 490.7 MB, free: 1.859 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.4495, allocations: 12.03 kB / 490.7 MB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.4497, allocations: 55.42 kB / 490.7 MB, free: 1.793 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.45, allocations: 312.2 kB / 491 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.45, allocations: 31.27 kB / 491.1 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.686e-05/0.4501, allocations: 29.56 kB / 491.1 MB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000488/0.4506, allocations: 358.1 kB / 491.4 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4506, allocations: 0 / 491.4 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.4506, allocations: 16.38 kB / 491.5 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.4506, allocations: 11.17 kB / 491.5 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003538/0.451, allocations: 251.4 kB / 491.7 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/0.4529, allocations: 1.468 MB / 493.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/0.4532, allocations: 184.6 kB / 493.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.4534, allocations: 75.28 kB / 493.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.4534, allocations: 4.688 kB / 493.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.4534, allocations: 35.31 kB / 493.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.402e-06/0.4534, allocations: 0 / 493.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007157/0.4542, allocations: 281.1 kB / 493.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.4542, allocations: 55.41 kB / 493.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/0.4545, allocations: 280 kB / 494.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.4546, allocations: 33.7 kB / 494.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.4547, allocations: 219.5 kB / 494.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.4547, allocations: 63.17 kB / 494.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.238e-05/0.4548, allocations: 4 kB / 494.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.4549, allocations: 338.8 kB / 494.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.455, allocations: 56 kB / 494.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.4552, allocations: 138 kB / 494.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.4553, allocations: 87.86 kB / 495 MB, free: 13.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4553, allocations: 0 / 495 MB, free: 13.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007923/0.4561, allocations: 374.9 kB / 495.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.4562, allocations: 8 kB / 495.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.4562, allocations: 0 / 495.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002856/0.4565, allocations: 88.64 kB / 495.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.4566, allocations: 43.92 kB / 495.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003115/0.4598, allocations: 3.108 MB / 498.6 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/0.4601, allocations: 42.8 kB / 498.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.4601, allocations: 11.95 kB / 498.7 MB, free: 10.01 MB / 362.7 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 () * 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 9.389e-05/0.4602, allocations: 121 kB / 498.8 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.518e-05/0.4603, allocations: 27.72 kB / 498.8 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.608e-05/0.4603, allocations: 26.08 kB / 498.8 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.4603, allocations: 4 kB / 498.8 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4603, allocations: 0 / 498.8 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4604, allocations: 0 / 498.8 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/0.4608, allocations: 377.2 kB / 499.2 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4608, allocations: 0 / 499.2 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.121e-05/0.4609, allocations: 15.94 kB / 499.2 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002166/0.4611, allocations: 85.67 kB / 499.3 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.4611, allocations: 0 / 499.3 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002632/0.4638, allocations: 3.032 MB / 0.4906 GB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.4638, allocations: 11.95 kB / 0.4906 GB, free: 5.996 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000666/0.4645, allocations: 372.8 kB / 0.4909 GB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.083e-05/0.4646, allocations: 108.7 kB / 0.491 GB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.4646, allocations: 0 / 0.491 GB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.4648, allocations: 31.98 kB / 0.4911 GB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.4649, allocations: 15.97 kB / 0.4911 GB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.4649, allocations: 8 kB / 0.4911 GB, free: 5.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002295/0.4651, allocations: 215.1 kB / 0.4913 GB, free: 5.219 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.543e-06/0.4652, allocations: 1.594 kB / 0.4913 GB, free: 5.219 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004911/0.4657, allocations: 103.7 kB / 0.4914 GB, free: 5.117 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.0001609/0.4658, allocations: 111.2 kB / 0.4915 GB, free: 5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009008/0.4667, allocations: 471.3 kB / 0.4919 GB, free: 4.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4667, allocations: 0 / 0.4919 GB, free: 4.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003366/0.4671, allocations: 318.6 kB / 0.4923 GB, free: 4.184 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.4674, allocations: 46.08 kB / 0.4923 GB, free: 4.137 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007362/0.4682, allocations: 357 kB / 0.4926 GB, free: 3.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.4685, allocations: 0.7911 MB / 0.4934 GB, free: 2.949 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.4686, allocations: 27.02 kB / 0.4934 GB, free: 2.926 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.4687, allocations: 23.42 kB / 0.4935 GB, free: 2.902 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4687, allocations: 0 / 0.4935 GB, free: 2.902 MB / 362.7 MB Notification: Performance of Templates: time 0.007211/0.4759, allocations: 3.599 MB / 0.497 GB, free: 15.38 MB / 378.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