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.0008364/0.0008364, allocations: 98.53 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00103/0.001031, allocations: 206.5 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.7 MB / 247.5 MB, free: 11.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002237/0.0002238, allocations: 11.98 kB / 308.4 MB, free: 0.7734 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.089/0.08924, allocations: 51.52 MB / 359.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.00339/0.09267, allocations: 2.863 MB / 362.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.09416, allocations: 0.7987 MB / 363.6 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002599/0.09444, allocations: 7.938 kB / 363.6 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.09464, allocations: 43.67 kB / 363.6 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.09494, allocations: 99.28 kB / 363.7 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.09525, allocations: 115.8 kB / 363.8 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000464/0.09573, allocations: 410.2 kB / 364.2 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002648/0.096, allocations: 144.4 kB / 364.4 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/0.0963, allocations: 135.4 kB / 364.5 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.09654, allocations: 155.2 kB / 364.7 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.797e-05/0.0966, allocations: 23.94 kB / 364.7 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.889e-05/0.09671, allocations: 31.98 kB / 364.7 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.403e-05/0.09679, allocations: 63.62 kB / 364.8 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.09698, allocations: 188.8 kB / 365 MB, free: 8.168 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000375/0.09736, allocations: 395.1 kB / 365.4 MB, free: 7.781 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.09737, allocations: 4 kB / 365.4 MB, free: 7.777 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.09738, allocations: 0 / 365.4 MB, free: 7.777 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.0974, allocations: 0 / 365.4 MB, free: 7.777 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.001027/0.09843, allocations: 0.6197 MB / 366 MB, free: 7.109 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.09848, allocations: 8.031 kB / 366 MB, free: 7.102 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/0.09868, allocations: 52.47 kB / 366 MB, free: 7.051 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.09905, allocations: 303.6 kB / 366.3 MB, free: 6.715 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.09908, allocations: 25.03 kB / 366.4 MB, free: 6.691 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.09913, allocations: 28.38 kB / 366.4 MB, free: 6.664 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006893/0.09983, allocations: 361.4 kB / 366.7 MB, free: 6.305 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.09985, allocations: 0 / 366.7 MB, free: 6.305 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.0999, allocations: 16 kB / 366.8 MB, free: 6.289 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.09992, allocations: 8 kB / 366.8 MB, free: 6.281 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006254/0.1005, allocations: 286.4 kB / 367 MB, free: 6 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.1025, allocations: 1.276 MB / 368.3 MB, free: 4.641 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006102/0.1032, allocations: 315.7 kB / 368.6 MB, free: 4.305 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.1034, allocations: 96.83 kB / 368.7 MB, free: 4.207 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.1034, allocations: 4 kB / 368.7 MB, free: 4.203 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.1035, allocations: 38.55 kB / 368.8 MB, free: 4.156 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.1035, allocations: 0 / 368.8 MB, free: 4.156 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.00213/0.1056, allocations: 0.6862 MB / 369.5 MB, free: 3.441 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.1057, allocations: 55.41 kB / 369.5 MB, free: 3.375 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003299/0.106, allocations: 298.9 kB / 369.8 MB, free: 3.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.106, allocations: 29.7 kB / 369.8 MB, free: 3.035 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.1062, allocations: 219.7 kB / 370 MB, free: 2.816 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/0.1062, allocations: 51.34 kB / 370.1 MB, free: 2.766 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.1063, allocations: 25.7 kB / 370.1 MB, free: 2.734 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1064, allocations: 334.8 kB / 370.4 MB, free: 2.398 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.1066, allocations: 87.95 kB / 370.5 MB, free: 2.312 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.1069, allocations: 166.2 kB / 370.7 MB, free: 2.113 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004497/0.1073, allocations: 257.9 kB / 370.9 MB, free: 1.824 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1074, allocations: 3.938 kB / 370.9 MB, free: 1.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009949/0.1084, allocations: 432.9 kB / 371.4 MB, free: 1.391 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1084, allocations: 7.938 kB / 371.4 MB, free: 1.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1084, allocations: 4 kB / 371.4 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00041/0.1088, allocations: 112.8 kB / 371.5 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.109, allocations: 43.92 kB / 371.5 MB, free: 1.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1839/0.2929, allocations: 1.982 MB / 373.5 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.2932, allocations: 42.17 kB / 373.6 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.2933, allocations: 11.73 kB / 373.6 MB, free: 17.91 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.0001889/0.2935, allocations: 153.2 kB / 373.7 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.567e-05/0.2936, allocations: 28.12 kB / 373.7 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.93e-05/0.2936, allocations: 28.62 kB / 373.8 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2937, allocations: 4.234 kB / 373.8 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.2937, allocations: 3.828 kB / 373.8 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2937, allocations: 4.391 kB / 373.8 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.2951, allocations: 0.7457 MB / 374.5 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.2951, allocations: 3.828 kB / 374.5 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.092e-05/0.2952, allocations: 17.69 kB / 374.6 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003691/0.2956, allocations: 103.6 kB / 374.7 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.2956, allocations: 1.609 kB / 374.7 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00255/0.2982, allocations: 1.988 MB / 376.6 MB, free: 16.13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2982, allocations: 0 / 376.6 MB, free: 16.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009314/0.2991, allocations: 431.1 kB / 377.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.262e-05/0.2992, allocations: 105.5 kB / 377.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.2992, allocations: 3.719 kB / 377.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.2995, allocations: 28.47 kB / 377.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.2995, allocations: 17.42 kB / 377.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.2995, allocations: 6.109 kB / 377.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002877/0.2998, allocations: 212.2 kB / 377.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2998, allocations: 0.6562 kB / 377.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005076/0.3003, allocations: 89.12 kB / 377.5 MB, free: 15.78 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.0001272/0.3005, allocations: 105.9 kB / 377.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007288/0.3012, allocations: 351.5 kB / 378 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3012, allocations: 0.6875 kB / 378 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003473/0.3016, allocations: 234.8 kB / 378.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.302, allocations: 49.12 kB / 378.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.3031, allocations: 0.724 MB / 379 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.3034, allocations: 0.773 MB / 379.7 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.891e-05/0.3034, allocations: 20.27 kB / 379.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3034, allocations: 0 / 379.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of Templates: time 0.008587/0.312, allocations: 4.68 MB / 384.4 MB, free: 13.9 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.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