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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001149, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009027/0.0009027, allocations: 101.9 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000258/0.0002581, allocations: 8 kB / 351.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2383, allocations: 50.4 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1066/0.345, allocations: 80.91 MB / 482.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.3453, allocations: 91.89 kB / 482.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01408/0.3594, allocations: 5.641 MB / 488.2 MB, free: 9.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3594, allocations: 8 kB / 488.2 MB, free: 9.812 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.766e-05/0.3595, allocations: 4 kB / 488.2 MB, free: 9.809 MB / 362.7 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.000893/0.3604, allocations: 0.5924 MB / 488.8 MB, free: 9.168 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.3604, allocations: 11.97 kB / 488.8 MB, free: 9.156 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.746e-05/0.3605, allocations: 39.53 kB / 488.8 MB, free: 9.117 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.3609, allocations: 299.2 kB / 489.1 MB, free: 8.785 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.3609, allocations: 20.66 kB / 489.1 MB, free: 8.766 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.202e-05/0.361, allocations: 35.94 kB / 489.2 MB, free: 8.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006199/0.3616, allocations: 345.4 kB / 489.5 MB, free: 8.383 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3616, allocations: 0 / 489.5 MB, free: 8.383 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.3617, allocations: 19.95 kB / 489.5 MB, free: 8.363 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.3617, allocations: 11.94 kB / 489.5 MB, free: 8.352 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005538/0.3622, allocations: 274.5 kB / 489.8 MB, free: 8.082 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.3642, allocations: 1.288 MB / 491.1 MB, free: 6.715 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005838/0.3648, allocations: 307.7 kB / 491.4 MB, free: 6.387 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.3648, allocations: 0 / 491.4 MB, free: 6.387 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.3649, allocations: 34.56 kB / 491.4 MB, free: 6.344 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 2.344e-06/0.3649, allocations: 3.984 kB / 491.4 MB, free: 6.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.002247/0.3671, allocations: 0.6746 MB / 492.1 MB, free: 5.637 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.3672, allocations: 52.59 kB / 492.1 MB, free: 5.574 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004601/0.3677, allocations: 266.4 kB / 492.4 MB, free: 5.316 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.3677, allocations: 33.7 kB / 492.4 MB, free: 5.277 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.3679, allocations: 219.8 kB / 492.6 MB, free: 5.059 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.754e-05/0.368, allocations: 51.19 kB / 492.7 MB, free: 5.008 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/0.3681, allocations: 8 kB / 492.7 MB, free: 5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3682, allocations: 338.8 kB / 493 MB, free: 4.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/0.3686, allocations: 83.95 kB / 493.1 MB, free: 4.578 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003978/0.369, allocations: 158.2 kB / 493.3 MB, free: 4.387 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.3694, allocations: 102.7 kB / 493.4 MB, free: 4.289 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.3694, allocations: 4 kB / 493.4 MB, free: 4.285 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001624/0.3711, allocations: 425.9 kB / 493.8 MB, free: 3.859 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.3711, allocations: 4 kB / 493.8 MB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.3711, allocations: 8 kB / 493.8 MB, free: 3.848 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007146/0.3719, allocations: 112.8 kB / 493.9 MB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.3722, allocations: 39.92 kB / 494 MB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004609/0.3768, allocations: 1.995 MB / 496 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004082/0.3772, allocations: 47.73 kB / 496 MB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.3773, allocations: 11.95 kB / 496 MB, free: 1.508 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002822/0.3776, allocations: 152.7 kB / 496.2 MB, free: 1.352 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.372e-05/0.3777, allocations: 27.66 kB / 496.2 MB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.094e-05/0.3777, allocations: 25.91 kB / 496.2 MB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3778, allocations: 4 kB / 496.2 MB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3778, allocations: 0 / 496.2 MB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3778, allocations: 0 / 496.2 MB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002158/0.38, allocations: 0.7526 MB / 497 MB, free: 496 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.38, allocations: 0 / 497 MB, free: 496 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.3801, allocations: 16 kB / 497 MB, free: 480 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005779/0.3807, allocations: 108.8 kB / 497.1 MB, free: 368 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.3808, allocations: 8 kB / 497.1 MB, free: 360 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004155/0.3849, allocations: 1.999 MB / 499.1 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.385, allocations: 0 / 499.1 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.3863, allocations: 431 kB / 499.5 MB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.3864, allocations: 104.8 kB / 499.6 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.3865, allocations: 8 kB / 499.6 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003292/0.3868, allocations: 23.98 kB / 499.6 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.659e-05/0.3869, allocations: 15.97 kB / 499.7 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.3869, allocations: 8 kB / 499.7 MB, free: 13.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003549/0.3873, allocations: 210 kB / 499.9 MB, free: 13.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3873, allocations: 0 / 499.9 MB, free: 13.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008181/0.3881, allocations: 87.75 kB / 500 MB, free: 13.31 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002017/0.3884, allocations: 103.2 kB / 0.4883 GB, free: 13.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.3895, allocations: 350.3 kB / 0.4887 GB, free: 12.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.3895, allocations: 0.6875 kB / 0.4887 GB, free: 12.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005789/0.3901, allocations: 230.6 kB / 0.4889 GB, free: 12.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.3906, allocations: 32.88 kB / 0.4889 GB, free: 12.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.3924, allocations: 0.6797 MB / 0.4896 GB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/0.3929, allocations: 0.7718 MB / 0.4903 GB, free: 11.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001919/0.3931, allocations: 26.28 kB / 0.4904 GB, free: 11.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.575e-05/0.3932, allocations: 23.38 kB / 0.4904 GB, free: 11.01 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.3932, allocations: 0 / 0.4904 GB, free: 11.01 MB / 378.7 MB Notification: Performance of Templates: time 0.01101/0.4042, allocations: 3.27 MB / 0.4936 GB, free: 7.77 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches