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.001112/0.001112, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001123/0.001123, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001089, allocations: 64.25 kB / 308.4 MB, free: 15.85 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08474/0.08584, allocations: 50.52 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.003958/0.08984, allocations: 3.202 MB / 362.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.09099, allocations: 0.818 MB / 362.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.09113, allocations: 4 kB / 362.9 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.0913, allocations: 63.42 kB / 363 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.09149, allocations: 107 kB / 363.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.09178, allocations: 139.8 kB / 363.2 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003791/0.09217, allocations: 442.2 kB / 363.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.09241, allocations: 163.8 kB / 363.8 MB, free: 8.367 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.09265, allocations: 171.4 kB / 364 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.09284, allocations: 175.2 kB / 364.2 MB, free: 8.027 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.242e-05/0.0929, allocations: 44 kB / 364.2 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.918e-05/0.09298, allocations: 48 kB / 364.3 MB, free: 7.938 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.43e-05/0.09305, allocations: 95.62 kB / 364.3 MB, free: 7.844 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.09321, allocations: 199.1 kB / 364.5 MB, free: 7.648 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.09362, allocations: 0.4983 MB / 365 MB, free: 7.148 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.09363, allocations: 0 / 365 MB, free: 7.148 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09364, allocations: 0 / 365 MB, free: 7.148 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.09365, allocations: 0 / 365 MB, free: 7.148 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.0009663/0.09462, allocations: 0.6665 MB / 365.7 MB, free: 6.434 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.09467, allocations: 15.97 kB / 365.7 MB, free: 6.418 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.09485, allocations: 52.39 kB / 365.8 MB, free: 6.367 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004002/0.09526, allocations: 319.5 kB / 366.1 MB, free: 6.016 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.09529, allocations: 21.03 kB / 366.1 MB, free: 5.996 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/0.09534, allocations: 32.38 kB / 366.1 MB, free: 5.965 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005681/0.09591, allocations: 349.4 kB / 366.5 MB, free: 5.617 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.09593, allocations: 0 / 366.5 MB, free: 5.617 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/0.09596, allocations: 12 kB / 366.5 MB, free: 5.605 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.09598, allocations: 8 kB / 366.5 MB, free: 5.598 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000543/0.09653, allocations: 278.4 kB / 366.8 MB, free: 5.324 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/0.09826, allocations: 1.26 MB / 368 MB, free: 3.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005047/0.09878, allocations: 295.8 kB / 368.3 MB, free: 3.664 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.09899, allocations: 96.75 kB / 368.4 MB, free: 3.566 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.09901, allocations: 4 kB / 368.4 MB, free: 3.562 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.09904, allocations: 30.56 kB / 368.4 MB, free: 3.523 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 2.605e-06/0.09904, allocations: 3.984 kB / 368.5 MB, free: 3.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001873/0.1009, allocations: 0.6433 MB / 369.1 MB, free: 2.848 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.101, allocations: 55.41 kB / 369.1 MB, free: 2.781 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003039/0.1013, allocations: 298.9 kB / 369.4 MB, free: 2.477 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.1013, allocations: 25.7 kB / 369.5 MB, free: 2.445 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.1014, allocations: 219.7 kB / 369.7 MB, free: 2.223 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.1015, allocations: 51.34 kB / 369.7 MB, free: 2.172 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.512e-05/0.1016, allocations: 49.61 kB / 369.8 MB, free: 2.117 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1017, allocations: 338.8 kB / 370.1 MB, free: 1.777 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.1019, allocations: 79.95 kB / 370.2 MB, free: 1.699 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.1021, allocations: 162.2 kB / 370.3 MB, free: 1.504 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/0.1025, allocations: 242.1 kB / 370.6 MB, free: 1.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1026, allocations: 0 / 370.6 MB, free: 1.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008858/0.1034, allocations: 412.7 kB / 371 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1035, allocations: 7.938 kB / 371 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.1035, allocations: 8.062 kB / 371 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003874/0.1039, allocations: 100.8 kB / 371.1 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.104, allocations: 47.86 kB / 371.1 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1385/0.2425, allocations: 2.162 MB / 373.3 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.2428, allocations: 35.77 kB / 373.3 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.2428, allocations: 16.95 kB / 373.4 MB, free: 18.77 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.0001304/0.243, allocations: 151.9 kB / 373.5 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.243, allocations: 28.97 kB / 373.5 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.2431, allocations: 30.92 kB / 373.6 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.2431, allocations: 3.047 kB / 373.6 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.2431, allocations: 0 / 373.6 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2431, allocations: 2.281 kB / 373.6 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.2442, allocations: 0.7258 MB / 374.3 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2442, allocations: 1.281 kB / 374.3 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.843e-05/0.2443, allocations: 13.47 kB / 374.3 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003025/0.2446, allocations: 106.1 kB / 374.4 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.2446, allocations: 1.234 kB / 374.4 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002108/0.2467, allocations: 2.16 MB / 376.6 MB, free: 16.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2467, allocations: 0 / 376.6 MB, free: 16.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007421/0.2475, allocations: 420.5 kB / 377 MB, free: 16.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-05/0.2475, allocations: 102.1 kB / 377.1 MB, free: 16.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.2476, allocations: 2.062 kB / 377.1 MB, free: 16.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.2478, allocations: 26.42 kB / 377.1 MB, free: 16.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.2478, allocations: 13.92 kB / 377.1 MB, free: 16.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.2479, allocations: 7.703 kB / 377.1 MB, free: 16.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001874/0.248, allocations: 211.2 kB / 377.3 MB, free: 16.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2481, allocations: 0 / 377.3 MB, free: 16.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004309/0.2485, allocations: 93.92 kB / 377.4 MB, free: 16.23 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 8.566e-05/0.2486, allocations: 109.4 kB / 377.5 MB, free: 16.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005928/0.2492, allocations: 340.5 kB / 377.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2492, allocations: 1.375 kB / 377.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002926/0.2495, allocations: 226.3 kB / 378.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.2498, allocations: 59.78 kB / 378.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008573/0.2507, allocations: 0.5442 MB / 378.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.2509, allocations: 0.773 MB / 379.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.978e-05/0.251, allocations: 23.41 kB / 379.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.736e-05/0.251, allocations: 18.22 kB / 379.5 MB, free: 14.78 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.251, allocations: 0 / 379.5 MB, free: 14.78 MB / 302.1 MB Notification: Performance of Templates: time 0.5055/0.7566, allocations: 3.621 MB / 383.1 MB, free: 14.57 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 gbode -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