Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00142/0.00142, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001319, allocations: 60.06 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1313, allocations: 50.54 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.005832/0.1372, allocations: 3.199 MB / 362.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.1392, allocations: 0.818 MB / 362.9 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002288/0.1394, allocations: 8 kB / 362.9 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.1397, allocations: 63.42 kB / 363 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.14, allocations: 107 kB / 363.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004456/0.1404, allocations: 135.8 kB / 363.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000518/0.141, allocations: 442.2 kB / 363.7 MB, free: 8.535 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003178/0.1413, allocations: 163.9 kB / 363.8 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003478/0.1416, allocations: 163.4 kB / 364 MB, free: 8.211 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002578/0.1419, allocations: 187.2 kB / 364.2 MB, free: 8.027 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.044e-05/0.142, allocations: 47.94 kB / 364.2 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.611e-05/0.1421, allocations: 44 kB / 364.3 MB, free: 7.938 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.682e-05/0.1422, allocations: 87.69 kB / 364.4 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.1424, allocations: 191.1 kB / 364.5 MB, free: 7.664 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006084/0.143, allocations: 0.5099 MB / 365.1 MB, free: 7.152 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.143, allocations: 0 / 365.1 MB, free: 7.152 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.143, allocations: 4 kB / 365.1 MB, free: 7.148 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.143, allocations: 4 kB / 365.1 MB, free: 7.145 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001283/0.1443, allocations: 0.6626 MB / 365.7 MB, free: 6.434 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.1444, allocations: 8.031 kB / 365.7 MB, free: 6.426 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003333/0.1447, allocations: 52.45 kB / 365.8 MB, free: 6.375 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000531/0.1453, allocations: 315.5 kB / 366.1 MB, free: 6.027 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.1453, allocations: 21.03 kB / 366.1 MB, free: 6.008 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.805e-05/0.1453, allocations: 32.38 kB / 366.1 MB, free: 5.977 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006715/0.146, allocations: 349.4 kB / 366.5 MB, free: 5.629 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.146, allocations: 4 kB / 366.5 MB, free: 5.625 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.1461, allocations: 15.98 kB / 366.5 MB, free: 5.609 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.1461, allocations: 8 kB / 366.5 MB, free: 5.602 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005946/0.1467, allocations: 278.4 kB / 366.8 MB, free: 5.328 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/0.1489, allocations: 1.256 MB / 368 MB, free: 3.988 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006031/0.1495, allocations: 299.8 kB / 368.3 MB, free: 3.668 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002999/0.1498, allocations: 96.81 kB / 368.4 MB, free: 3.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.1498, allocations: 0 / 368.4 MB, free: 3.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.1499, allocations: 38.5 kB / 368.5 MB, free: 3.523 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.1499, allocations: 0 / 368.5 MB, free: 3.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002238/0.1521, allocations: 0.6355 MB / 369.1 MB, free: 2.859 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.1522, allocations: 55.41 kB / 369.2 MB, free: 2.793 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003955/0.1526, allocations: 294.9 kB / 369.4 MB, free: 2.492 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.1526, allocations: 37.7 kB / 369.5 MB, free: 2.449 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.1528, allocations: 219.7 kB / 369.7 MB, free: 2.227 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.729e-05/0.1529, allocations: 47.34 kB / 369.7 MB, free: 2.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.726e-05/0.153, allocations: 57.55 kB / 369.8 MB, free: 2.117 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002408/0.1532, allocations: 334.8 kB / 370.1 MB, free: 1.781 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.1535, allocations: 79.95 kB / 370.2 MB, free: 1.703 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/0.1537, allocations: 162.2 kB / 370.4 MB, free: 1.508 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004663/0.1542, allocations: 242.1 kB / 370.6 MB, free: 1.234 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.1542, allocations: 0 / 370.6 MB, free: 1.234 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009886/0.1552, allocations: 412.5 kB / 371 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.1553, allocations: 11.94 kB / 371 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.1553, allocations: 4 kB / 371 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004796/0.1558, allocations: 104.8 kB / 371.1 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.1559, allocations: 39.92 kB / 371.2 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2565/0.4124, allocations: 2.157 MB / 373.3 MB, free: 18.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004105/0.4129, allocations: 40.47 kB / 373.4 MB, free: 18.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.413, allocations: 17.73 kB / 373.4 MB, free: 18.73 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002354/0.4132, allocations: 152.2 kB / 373.5 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.528e-05/0.4133, allocations: 24.86 kB / 373.5 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.039e-05/0.4133, allocations: 30.09 kB / 373.6 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.4133, allocations: 1.656 kB / 373.6 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.4134, allocations: 1.281 kB / 373.6 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.4134, allocations: 3.797 kB / 373.6 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.4148, allocations: 0.7235 MB / 374.3 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.4148, allocations: 0.75 kB / 374.3 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.281e-05/0.4149, allocations: 17.38 kB / 374.3 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003896/0.4153, allocations: 103.9 kB / 374.4 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.4154, allocations: 6.375 kB / 374.4 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002703/0.4181, allocations: 2.162 MB / 376.6 MB, free: 16.67 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4181, allocations: 0 / 376.6 MB, free: 16.67 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009377/0.419, allocations: 418.8 kB / 377 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.651e-05/0.4191, allocations: 105.7 kB / 377.1 MB, free: 16.35 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.4192, allocations: 2.828 kB / 377.1 MB, free: 16.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.4194, allocations: 23.31 kB / 377.1 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.828e-05/0.4195, allocations: 10.22 kB / 377.1 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.4195, allocations: 4.672 kB / 377.1 MB, free: 16.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002592/0.4198, allocations: 217.4 kB / 377.4 MB, free: 16.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4198, allocations: 3.188 kB / 377.4 MB, free: 16.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005264/0.4203, allocations: 94 kB / 377.4 MB, free: 16.2 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001671/0.4205, allocations: 96.94 kB / 377.5 MB, free: 16.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008238/0.4213, allocations: 347.5 kB / 377.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4213, allocations: 0 / 377.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003607/0.4217, allocations: 227 kB / 378.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.4221, allocations: 52.02 kB / 378.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.4233, allocations: 0.5464 MB / 378.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.4237, allocations: 0.7682 MB / 379.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.4238, allocations: 24.11 kB / 379.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.378e-05/0.4239, allocations: 20.38 kB / 379.5 MB, free: 14.76 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4239, allocations: 0 / 379.5 MB, free: 14.76 MB / 302.1 MB Notification: Performance of Templates: time 0.01027/0.4342, allocations: 3.63 MB / 383.1 MB, free: 14.55 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches