Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 112 kB / 17.68 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009853/0.0009853, allocations: 190.9 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 242.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001003, allocations: 47.34 kB / 302.1 MB, free: 5.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09791/0.09893, allocations: 49.44 MB / 351.5 MB, free: 3.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004712/0.1037, allocations: 3.17 MB / 354.7 MB, free: 496 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.1049, allocations: 0.7634 MB / 355.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.1051, allocations: 11.94 kB / 355.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.1053, allocations: 55.44 kB / 355.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.1055, allocations: 119 kB / 355.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.1058, allocations: 123.8 kB / 355.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004273/0.1063, allocations: 434.3 kB / 356.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002523/0.1065, allocations: 159.9 kB / 356.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.1067, allocations: 171.3 kB / 356.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.1069, allocations: 179.2 kB / 356.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.199e-05/0.107, allocations: 44 kB / 356.7 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.338e-05/0.1071, allocations: 44 kB / 356.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.458e-05/0.1071, allocations: 87.69 kB / 356.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.1073, allocations: 195.1 kB / 357 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003985/0.1077, allocations: 0.4983 MB / 357.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1077, allocations: 0 / 357.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1077, allocations: 4 kB / 357.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.1077, allocations: 0 / 357.5 MB, free: 13.61 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.001009/0.1087, allocations: 0.6626 MB / 358.2 MB, free: 12.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1088, allocations: 8.031 kB / 358.2 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.582e-05/0.1089, allocations: 48.41 kB / 358.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/0.1093, allocations: 307.5 kB / 358.6 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.1093, allocations: 25.03 kB / 358.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.163e-05/0.1094, allocations: 28.38 kB / 358.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000576/0.1099, allocations: 353.3 kB / 358.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.11, allocations: 4 kB / 359 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.11, allocations: 12 kB / 359 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.11, allocations: 8 kB / 359 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005672/0.1106, allocations: 270.5 kB / 359.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.1124, allocations: 1.249 MB / 360.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005712/0.113, allocations: 295.7 kB / 360.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.1132, allocations: 96.81 kB / 360.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.1132, allocations: 0 / 360.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.1132, allocations: 42.56 kB / 360.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.142e-06/0.1132, allocations: 0 / 360.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001987/0.1152, allocations: 0.6423 MB / 361.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.1153, allocations: 55.39 kB / 361.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.1156, allocations: 291 kB / 361.9 MB, free: 9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.1156, allocations: 33.69 kB / 361.9 MB, free: 8.961 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.1157, allocations: 215.7 kB / 362.1 MB, free: 8.742 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.1158, allocations: 55.27 kB / 362.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.1159, allocations: 45.7 kB / 362.2 MB, free: 8.637 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.116, allocations: 334.8 kB / 362.6 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.1162, allocations: 83.89 kB / 362.6 MB, free: 8.219 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.1164, allocations: 162.2 kB / 362.8 MB, free: 8.023 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004149/0.1168, allocations: 246 kB / 363 MB, free: 7.746 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1168, allocations: 8 kB / 363 MB, free: 7.738 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008942/0.1177, allocations: 404.7 kB / 363.4 MB, free: 7.336 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1178, allocations: 7.938 kB / 363.5 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1178, allocations: 7.938 kB / 363.5 MB, free: 7.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000421/0.1182, allocations: 108.8 kB / 363.6 MB, free: 7.211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.1184, allocations: 35.98 kB / 363.6 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002901/0.1213, allocations: 2.185 MB / 365.8 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.1215, allocations: 39.58 kB / 365.8 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.1215, allocations: 8 kB / 365.8 MB, free: 4.805 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.0001639/0.1217, allocations: 153.7 kB / 366 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.836e-05/0.1218, allocations: 23.72 kB / 366 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.389e-05/0.1218, allocations: 29.91 kB / 366 MB, free: 4.586 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1218, allocations: 7.938 kB / 366 MB, free: 4.578 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.1219, allocations: 4 kB / 366 MB, free: 4.574 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1219, allocations: 3.984 kB / 366.1 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.1231, allocations: 0.7179 MB / 366.8 MB, free: 3.789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1231, allocations: 0 / 366.8 MB, free: 3.789 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.213e-05/0.1232, allocations: 19.92 kB / 366.8 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003787/0.1236, allocations: 96.8 kB / 366.9 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.1236, allocations: 3.938 kB / 366.9 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002841/0.1264, allocations: 2.155 MB / 369 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.1264, allocations: 3.938 kB / 369 MB, free: 1.375 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008609/0.1273, allocations: 412.2 kB / 369.4 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.594e-05/0.1274, allocations: 100.8 kB / 369.5 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.1274, allocations: 3.984 kB / 369.6 MB, free: 0.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.1277, allocations: 27.98 kB / 369.6 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.1277, allocations: 7.984 kB / 369.6 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.1277, allocations: 7.938 kB / 369.6 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002333/0.128, allocations: 217.9 kB / 369.8 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.128, allocations: 0 / 369.8 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000491/0.1285, allocations: 87.78 kB / 369.9 MB, free: 0.4922 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.0001747/0.1287, allocations: 107.2 kB / 370 MB, free: 384 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007908/0.1295, allocations: 342.9 kB / 370.3 MB, free: 28 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1295, allocations: 3.938 kB / 370.3 MB, free: 24 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1434/0.2729, allocations: 219.1 kB / 370.5 MB, free: 26.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.2734, allocations: 46.05 kB / 370.6 MB, free: 26.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.2745, allocations: 0.5482 MB / 371.1 MB, free: 25.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.2747, allocations: 0.7691 MB / 371.9 MB, free: 25.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.86e-05/0.2748, allocations: 31.81 kB / 371.9 MB, free: 25.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.2749, allocations: 22.56 kB / 372 MB, free: 25.2 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2749, allocations: 2.562 kB / 372 MB, free: 25.2 MB / 302.1 MB Notification: Performance of Templates: time 0.007659/0.2825, allocations: 3.62 MB / 375.6 MB, free: 25.11 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches