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.001014/0.001014, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.288/1.288, allocations: 221.3 MB / 235.5 MB, free: 2.973 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000841/0.000841, allocations: 87.84 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.253e-05/2.255e-05, allocations: 0 / 343.8 MB, free: 4.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08682/0.08685, allocations: 50.42 MB / 394.3 MB, free: 1.844 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2764/0.3633, allocations: 80.84 MB / 475.1 MB, free: 6.715 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.3636, allocations: 85.41 kB / 475.2 MB, free: 6.637 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01441/0.378, allocations: 5.644 MB / 480.8 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.378, allocations: 0 / 480.8 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.3781, allocations: 8 kB / 480.8 MB, free: 0.9727 MB / 346.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.0007471/0.3788, allocations: 0.5614 MB / 481.4 MB, free: 376 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3789, allocations: 8.031 kB / 481.4 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.38e-05/0.3789, allocations: 43.59 kB / 481.4 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.3793, allocations: 295.4 kB / 481.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.3793, allocations: 20.78 kB / 481.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.514e-05/0.3794, allocations: 32 kB / 481.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005086/0.3799, allocations: 323.4 kB / 482.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3799, allocations: 3.938 kB / 482.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.608e-05/0.38, allocations: 15.95 kB / 482.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.38, allocations: 15.94 kB / 482.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003633/0.3804, allocations: 227 kB / 482.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.3823, allocations: 1.288 MB / 483.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003211/0.3826, allocations: 235.9 kB / 483.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.3827, allocations: 72.86 kB / 483.9 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.3827, allocations: 4 kB / 484 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.3828, allocations: 38.56 kB / 484 MB, free: 13.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.3828, allocations: 0 / 484 MB, free: 13.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006472/0.3834, allocations: 267.7 kB / 484.2 MB, free: 13.33 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.3835, allocations: 51.41 kB / 484.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.3837, allocations: 255.5 kB / 484.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.3838, allocations: 29.7 kB / 484.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.3839, allocations: 219.5 kB / 484.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.3839, allocations: 55.23 kB / 484.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.171e-05/0.384, allocations: 12 kB / 484.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.3841, allocations: 338.8 kB / 485.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.874e-05/0.3842, allocations: 52 kB / 485.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.3843, allocations: 138.2 kB / 485.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.3845, allocations: 73.39 kB / 485.4 MB, free: 12.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.3845, allocations: 4 kB / 485.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006985/0.3852, allocations: 355.4 kB / 485.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3852, allocations: 4 kB / 485.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3852, allocations: 4 kB / 485.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002596/0.3855, allocations: 76.83 kB / 485.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.3856, allocations: 39.98 kB / 485.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.3876, allocations: 1.819 MB / 487.7 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.3878, allocations: 39.64 kB / 487.8 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.3879, allocations: 12 kB / 487.8 MB, free: 9.566 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 () * 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 8.459e-05/0.3879, allocations: 120.9 kB / 487.9 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-05/0.388, allocations: 31.7 kB / 487.9 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.389e-05/0.3881, allocations: 26.05 kB / 488 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3881, allocations: 7.984 kB / 488 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.3881, allocations: 0 / 488 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3881, allocations: 0 / 488 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009921/0.3891, allocations: 0.6746 MB / 488.6 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3891, allocations: 4 kB / 488.6 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.405e-05/0.3892, allocations: 15.98 kB / 488.7 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001801/0.3894, allocations: 72.77 kB / 488.7 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.3894, allocations: 8 kB / 488.7 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/0.3911, allocations: 1.788 MB / 490.5 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3911, allocations: 0 / 490.5 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005949/0.3917, allocations: 367.1 kB / 490.9 MB, free: 6.246 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.952e-05/0.3918, allocations: 104.8 kB / 491 MB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.3918, allocations: 4 kB / 491 MB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.392, allocations: 23.98 kB / 491 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.3921, allocations: 19.92 kB / 491 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.3921, allocations: 4 kB / 491 MB, free: 6.074 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001981/0.3923, allocations: 207.1 kB / 491.2 MB, free: 5.871 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3923, allocations: 0 / 491.2 MB, free: 5.871 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004447/0.3928, allocations: 87.8 kB / 491.3 MB, free: 5.785 MB / 362.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 () * 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.0001366/0.3929, allocations: 107.2 kB / 491.4 MB, free: 5.668 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004842/0.3934, allocations: 291.9 kB / 491.7 MB, free: 5.371 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3934, allocations: 4 kB / 491.7 MB, free: 5.367 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.3937, allocations: 202.5 kB / 491.9 MB, free: 5.156 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.394, allocations: 41.5 kB / 492 MB, free: 5.113 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007976/0.3948, allocations: 372.3 kB / 492.3 MB, free: 4.727 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.3951, allocations: 0.7796 MB / 493.1 MB, free: 3.918 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.3952, allocations: 30.44 kB / 493.1 MB, free: 3.887 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.3952, allocations: 23.38 kB / 493.2 MB, free: 3.863 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3953, allocations: 0 / 493.2 MB, free: 3.863 MB / 362.7 MB Notification: Performance of Templates: time 0.006313/0.4016, allocations: 3.282 MB / 496.4 MB, free: 0.6094 MB / 362.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