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.001145/0.001145, allocations: 111.4 kB / 17.29 MB, free: 6.219 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.001129/0.001129, allocations: 197.3 kB / 18.21 MB, free: 5.289 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.31/1.31, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 44.81 kB / 300.8 MB, free: 6.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0955/0.09659, allocations: 49.45 MB / 350.3 MB, free: 4.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004526/0.1012, allocations: 3.215 MB / 353.5 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.1027, allocations: 0.7557 MB / 354.2 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003188/0.103, allocations: 4 kB / 354.2 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.1033, allocations: 51.61 kB / 354.3 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003118/0.1036, allocations: 91.31 kB / 354.4 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.104, allocations: 111.9 kB / 354.5 MB, free: 492 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005071/0.1045, allocations: 438.2 kB / 354.9 MB, free: 52 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003125/0.1048, allocations: 155.9 kB / 355.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.1051, allocations: 175.3 kB / 355.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.1054, allocations: 179.2 kB / 355.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.865e-05/0.1055, allocations: 44 kB / 355.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.954e-05/0.1056, allocations: 40 kB / 355.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.972e-05/0.1057, allocations: 87.7 kB / 355.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.1059, allocations: 195.1 kB / 355.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.1062, allocations: 411.2 kB / 356.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1062, allocations: 7.938 kB / 356.2 MB, free: 14.78 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1063, allocations: 0 / 356.2 MB, free: 14.78 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.1063, allocations: 0 / 356.2 MB, free: 14.78 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.0011/0.1074, allocations: 0.6588 MB / 356.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1074, allocations: 8.031 kB / 356.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.1075, allocations: 44.45 kB / 356.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.1079, allocations: 299.5 kB / 357.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.1079, allocations: 25.03 kB / 357.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.034e-05/0.108, allocations: 28.38 kB / 357.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006469/0.1086, allocations: 361.4 kB / 357.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.1086, allocations: 7.938 kB / 357.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.1087, allocations: 12 kB / 357.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.1087, allocations: 8 kB / 357.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005511/0.1093, allocations: 266.5 kB / 357.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001932/0.1112, allocations: 1.26 MB / 359.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005564/0.1118, allocations: 291.7 kB / 359.4 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.112, allocations: 104.8 kB / 359.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.112, allocations: 0 / 359.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.1121, allocations: 34.56 kB / 359.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.1121, allocations: 0 / 359.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.00204/0.1141, allocations: 0.6432 MB / 360.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.1142, allocations: 51.41 kB / 360.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003486/0.1145, allocations: 299 kB / 360.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.1146, allocations: 29.7 kB / 360.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.1147, allocations: 215.7 kB / 360.8 MB, free: 9.902 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.1148, allocations: 55.25 kB / 360.8 MB, free: 9.848 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.673e-05/0.1149, allocations: 45.7 kB / 360.9 MB, free: 9.797 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.115, allocations: 334.8 kB / 361.2 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.1152, allocations: 87.89 kB / 361.3 MB, free: 9.375 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.1154, allocations: 150.3 kB / 361.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000432/0.1159, allocations: 246 kB / 361.7 MB, free: 8.914 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.1159, allocations: 11.88 kB / 361.7 MB, free: 8.902 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009737/0.1169, allocations: 402 kB / 362.1 MB, free: 8.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.1169, allocations: 10.91 kB / 362.1 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.1169, allocations: 4 kB / 362.1 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004514/0.1174, allocations: 112.8 kB / 362.2 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.1176, allocations: 31.98 kB / 362.2 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00306/0.1206, allocations: 2.185 MB / 364.4 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.1209, allocations: 43.58 kB / 364.5 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.1209, allocations: 8 kB / 364.5 MB, free: 5.973 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.0001673/0.1211, allocations: 153.8 kB / 364.6 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.1212, allocations: 27.7 kB / 364.6 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.7e-05/0.1212, allocations: 25.92 kB / 364.7 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.1212, allocations: 3.938 kB / 364.7 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.1213, allocations: 11.98 kB / 364.7 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1213, allocations: 0 / 364.7 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.1225, allocations: 0.7215 MB / 365.4 MB, free: 4.957 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1225, allocations: 3.938 kB / 365.4 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.384e-05/0.1226, allocations: 19.92 kB / 365.4 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003169/0.1229, allocations: 96.8 kB / 365.5 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.1229, allocations: 11.92 kB / 365.5 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002558/0.1255, allocations: 2.143 MB / 367.7 MB, free: 2.547 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1255, allocations: 4 kB / 367.7 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008042/0.1263, allocations: 415.7 kB / 368.1 MB, free: 2.117 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.67e-05/0.1264, allocations: 108.8 kB / 368.2 MB, free: 1.992 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.1265, allocations: 0 / 368.2 MB, free: 1.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.1267, allocations: 27.98 kB / 368.2 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.1267, allocations: 7.984 kB / 368.2 MB, free: 1.957 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.1268, allocations: 7.938 kB / 368.2 MB, free: 1.949 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002165/0.127, allocations: 214 kB / 368.4 MB, free: 1.742 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.127, allocations: 3.938 kB / 368.5 MB, free: 1.738 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004853/0.1275, allocations: 83.84 kB / 368.5 MB, free: 1.656 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.000138/0.1276, allocations: 107.2 kB / 368.6 MB, free: 1.539 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007251/0.1284, allocations: 342.4 kB / 369 MB, free: 1.191 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1284, allocations: 0.6875 kB / 369 MB, free: 1.191 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003596/0.1287, allocations: 238.4 kB / 369.2 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.1292, allocations: 54.73 kB / 369.3 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.1303, allocations: 0.6898 MB / 369.9 MB, free: 184 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1568/0.2871, allocations: 0.764 MB / 370.7 MB, free: 25.49 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.746e-05/0.2872, allocations: 20.81 kB / 370.7 MB, free: 25.48 MB / 302.1 MB Notification: Performance of SimCode: time 9.82e-07/0.2872, allocations: 0 / 370.7 MB, free: 25.48 MB / 302.1 MB Notification: Performance of Templates: time 0.01007/0.2973, allocations: 4.69 MB / 375.4 MB, free: 25.26 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 -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