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.001717/0.001717, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002017/0.002016, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 247.5 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001855, allocations: 64.36 kB / 307.7 MB, free: 0.6289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09769/0.09956, allocations: 50.54 MB / 358.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004569/0.1042, allocations: 3.198 MB / 361.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.1055, allocations: 0.8141 MB / 362.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.1057, allocations: 8 kB / 362.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.1059, allocations: 63.42 kB / 362.3 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.1061, allocations: 103 kB / 362.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.1064, allocations: 139.8 kB / 362.5 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004462/0.1069, allocations: 446.2 kB / 363 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002793/0.1072, allocations: 159.9 kB / 363.1 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.1075, allocations: 171.4 kB / 363.3 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.1077, allocations: 175.2 kB / 363.5 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.218e-05/0.1078, allocations: 44 kB / 363.5 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.1079, allocations: 51.98 kB / 363.5 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.523e-05/0.108, allocations: 91.64 kB / 363.6 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.1082, allocations: 195.1 kB / 363.8 MB, free: 8.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005003/0.1087, allocations: 0.4947 MB / 364.3 MB, free: 7.934 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1087, allocations: 4 kB / 364.3 MB, free: 7.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1087, allocations: 0 / 364.3 MB, free: 7.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1087, allocations: 4 kB / 364.3 MB, free: 7.926 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.1098, allocations: 0.6664 MB / 365 MB, free: 7.211 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1099, allocations: 12.03 kB / 365 MB, free: 7.199 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.11, allocations: 44.47 kB / 365 MB, free: 7.156 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.1104, allocations: 307.5 kB / 365.3 MB, free: 6.816 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.1105, allocations: 25.03 kB / 365.4 MB, free: 6.793 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.1105, allocations: 32.38 kB / 365.4 MB, free: 6.762 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006412/0.1112, allocations: 353.4 kB / 365.8 MB, free: 6.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1112, allocations: 0 / 365.8 MB, free: 6.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.1112, allocations: 19.94 kB / 365.8 MB, free: 6.391 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.1112, allocations: 8 kB / 365.8 MB, free: 6.383 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005947/0.1118, allocations: 266.4 kB / 366 MB, free: 6.121 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002027/0.1139, allocations: 1.268 MB / 367.3 MB, free: 4.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006377/0.1145, allocations: 295.8 kB / 367.6 MB, free: 4.453 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.1148, allocations: 100.8 kB / 367.7 MB, free: 4.352 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.1148, allocations: 0 / 367.7 MB, free: 4.352 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.1148, allocations: 42.48 kB / 367.7 MB, free: 4.301 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 9.92e-07/0.1148, allocations: 0 / 367.7 MB, free: 4.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002155/0.117, allocations: 0.6355 MB / 368.4 MB, free: 3.637 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.1171, allocations: 55.41 kB / 368.4 MB, free: 3.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.1174, allocations: 294.9 kB / 368.7 MB, free: 3.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.1174, allocations: 33.7 kB / 368.7 MB, free: 3.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.1176, allocations: 223.7 kB / 369 MB, free: 3.004 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.1177, allocations: 43.36 kB / 369 MB, free: 2.961 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.246e-05/0.1178, allocations: 49.61 kB / 369.1 MB, free: 2.906 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1179, allocations: 338.8 kB / 369.4 MB, free: 2.566 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.1182, allocations: 79.95 kB / 369.5 MB, free: 2.488 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/0.1184, allocations: 166.2 kB / 369.6 MB, free: 2.289 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004681/0.1189, allocations: 242.1 kB / 369.9 MB, free: 2.016 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1189, allocations: 0 / 369.9 MB, free: 2.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009906/0.1199, allocations: 409.9 kB / 370.3 MB, free: 1.605 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.12, allocations: 14.44 kB / 370.3 MB, free: 1.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.12, allocations: 7.938 kB / 370.3 MB, free: 1.586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004231/0.1204, allocations: 104.9 kB / 370.4 MB, free: 1.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.1206, allocations: 43.92 kB / 370.4 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1453/0.2659, allocations: 2.164 MB / 372.6 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.2662, allocations: 36.94 kB / 372.6 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.2662, allocations: 8.062 kB / 372.6 MB, free: 18.82 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.0001598/0.2664, allocations: 155.5 kB / 372.8 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/0.2664, allocations: 26.7 kB / 372.8 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.709e-05/0.2665, allocations: 30.39 kB / 372.8 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2665, allocations: 1.188 kB / 372.8 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2665, allocations: 3.25 kB / 372.8 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2665, allocations: 1.953 kB / 372.9 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.2679, allocations: 0.725 MB / 373.6 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.268, allocations: 3.188 kB / 373.6 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.008e-05/0.268, allocations: 17.59 kB / 373.6 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003761/0.2684, allocations: 99.59 kB / 373.7 MB, free: 18.37 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.2684, allocations: 1.75 kB / 373.7 MB, free: 18.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002892/0.2713, allocations: 2.163 MB / 375.9 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2714, allocations: 0 / 375.9 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009264/0.2723, allocations: 414.7 kB / 376.3 MB, free: 16.71 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.2724, allocations: 109.5 kB / 376.4 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.2724, allocations: 5.438 kB / 376.4 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.2726, allocations: 22.7 kB / 376.4 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.316e-05/0.2727, allocations: 14.77 kB / 376.4 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.2727, allocations: 5.203 kB / 376.4 MB, free: 16.58 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002336/0.273, allocations: 209.1 kB / 376.6 MB, free: 16.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.273, allocations: 0 / 376.6 MB, free: 16.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005461/0.2735, allocations: 90.94 kB / 376.7 MB, free: 16.45 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.0001446/0.2737, allocations: 108.9 kB / 376.8 MB, free: 16.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007749/0.2745, allocations: 352.9 kB / 377.2 MB, free: 16.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2745, allocations: 0 / 377.2 MB, free: 16.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003354/0.2748, allocations: 223.2 kB / 377.4 MB, free: 16.03 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.2752, allocations: 52.16 kB / 377.4 MB, free: 16.01 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.2763, allocations: 0.5857 MB / 378 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.2765, allocations: 0.7714 MB / 378.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.022e-05/0.2766, allocations: 20.47 kB / 378.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2766, allocations: 0 / 378.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of Templates: time 0.007414/0.284, allocations: 4.731 MB / 383.5 MB, free: 14.53 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 -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.1.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