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.001534/0.001534, allocations: 108.2 kB / 17.74 MB, free: 5.359 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.001758/0.001758, allocations: 183.1 kB / 18.67 MB, free: 4.441 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.387/1.387, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 47.92 kB / 352 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2369, allocations: 49.44 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004222/0.2412, allocations: 3.191 MB / 404.6 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.2426, allocations: 0.7557 MB / 405.4 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.2428, allocations: 7.938 kB / 405.4 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.243, allocations: 59.44 kB / 405.5 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.2432, allocations: 111 kB / 405.6 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.2435, allocations: 115.8 kB / 405.7 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004216/0.2439, allocations: 450.2 kB / 406.1 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002712/0.2442, allocations: 147.9 kB / 406.3 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.2445, allocations: 171.3 kB / 406.4 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.2447, allocations: 183.2 kB / 406.6 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.918e-05/0.2447, allocations: 40 kB / 406.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.498e-05/0.2448, allocations: 44 kB / 406.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.22e-05/0.2449, allocations: 91.67 kB / 406.8 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.2451, allocations: 199.1 kB / 407 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004659/0.2456, allocations: 0.4955 MB / 407.5 MB, free: 2.812 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2456, allocations: 0 / 407.5 MB, free: 2.812 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2456, allocations: 0 / 407.5 MB, free: 2.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.2456, allocations: 0 / 407.5 MB, free: 2.812 MB / 318.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.001096/0.2467, allocations: 0.6626 MB / 408.1 MB, free: 2.102 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.2467, allocations: 15.97 kB / 408.1 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.843e-05/0.2468, allocations: 40.47 kB / 408.2 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004134/0.2473, allocations: 299.6 kB / 408.5 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.2473, allocations: 25.03 kB / 408.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.087e-05/0.2473, allocations: 28.38 kB / 408.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006461/0.248, allocations: 353.3 kB / 408.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.248, allocations: 3.984 kB / 408.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.2481, allocations: 20 kB / 408.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.2481, allocations: 8 kB / 408.9 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005817/0.2487, allocations: 266.5 kB / 409.2 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.2506, allocations: 1.256 MB / 410.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006065/0.2513, allocations: 306.5 kB / 410.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/0.2515, allocations: 92.81 kB / 410.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.2515, allocations: 4 kB / 410.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.2516, allocations: 38.56 kB / 410.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.763e-06/0.2516, allocations: 0 / 410.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002126/0.2537, allocations: 0.6469 MB / 411.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.2538, allocations: 51.41 kB / 411.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003297/0.2541, allocations: 298.9 kB / 411.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.2541, allocations: 29.7 kB / 411.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.2543, allocations: 211.8 kB / 412.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.2543, allocations: 51.23 kB / 412.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.953e-05/0.2544, allocations: 57.61 kB / 412.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.2545, allocations: 334.8 kB / 412.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.2548, allocations: 79.95 kB / 412.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.255, allocations: 158.3 kB / 412.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004309/0.2555, allocations: 246 kB / 413 MB, free: 12.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2555, allocations: 0 / 413 MB, free: 12.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009649/0.2564, allocations: 412.5 kB / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.2565, allocations: 11.94 kB / 413.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.2565, allocations: 4 kB / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004295/0.2569, allocations: 104.8 kB / 413.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.2571, allocations: 43.92 kB / 413.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002975/0.2601, allocations: 2.173 MB / 415.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.2603, allocations: 43.73 kB / 415.8 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.2604, allocations: 8 kB / 415.8 MB, free: 9.992 MB / 334.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.000177/0.2606, allocations: 153.7 kB / 415.9 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.2606, allocations: 23.72 kB / 415.9 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.639e-05/0.2607, allocations: 29.91 kB / 416 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2607, allocations: 3.938 kB / 416 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.2607, allocations: 0 / 416 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2607, allocations: 7.984 kB / 416 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.262, allocations: 0.7178 MB / 416.7 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.262, allocations: 0 / 416.7 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.923e-05/0.2621, allocations: 23.91 kB / 416.7 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003303/0.2624, allocations: 96.78 kB / 416.8 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.2625, allocations: 11.92 kB / 416.8 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002712/0.2652, allocations: 2.147 MB / 419 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.2652, allocations: 7.922 kB / 419 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008687/0.2661, allocations: 408.4 kB / 419.4 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.299e-05/0.2662, allocations: 104.8 kB / 419.5 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.2662, allocations: 4 kB / 419.5 MB, free: 6.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.2664, allocations: 19.98 kB / 419.5 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.077e-05/0.2665, allocations: 19.92 kB / 419.5 MB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.2665, allocations: 7.938 kB / 419.5 MB, free: 5.969 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002008/0.2667, allocations: 206 kB / 419.7 MB, free: 5.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2667, allocations: 4 kB / 419.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004793/0.2672, allocations: 91.69 kB / 419.8 MB, free: 5.676 MB / 334.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.0001326/0.2674, allocations: 115.2 kB / 419.9 MB, free: 5.551 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000734/0.2681, allocations: 335 kB / 420.3 MB, free: 5.211 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.2681, allocations: 4.062 kB / 420.3 MB, free: 5.207 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003429/0.2685, allocations: 230.5 kB / 420.5 MB, free: 4.969 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.2689, allocations: 47.84 kB / 420.6 MB, free: 4.918 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.27, allocations: 0.5725 MB / 421.1 MB, free: 4.309 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.2703, allocations: 0.7675 MB / 421.9 MB, free: 3.512 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.412e-05/0.2704, allocations: 19.44 kB / 421.9 MB, free: 3.492 MB / 334.1 MB Notification: Performance of SimCode: time 9.41e-07/0.2704, allocations: 4 kB / 421.9 MB, free: 3.488 MB / 334.1 MB Notification: Performance of Templates: time 0.006873/0.2772, allocations: 4.71 MB / 426.6 MB, free: 14.78 MB / 350.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