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.000898/0.0008981, allocations: 93.31 kB / 17.31 MB, free: 6.535 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.0007836/0.0007836, allocations: 175.2 kB / 18.21 MB, free: 5.684 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.27/1.27, allocations: 223.3 MB / 242.2 MB, free: 256 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002334/0.0002331, allocations: 8 kB / 302.1 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07255/0.0728, allocations: 50.43 MB / 352.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.002822/0.07564, allocations: 2.837 MB / 355.3 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.07677, allocations: 0.7479 MB / 356.1 MB, free: 84 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.07695, allocations: 4 kB / 356.1 MB, free: 80 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.0771, allocations: 47.67 kB / 356.1 MB, free: 32 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.07733, allocations: 91.23 kB / 356.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.07759, allocations: 107.9 kB / 356.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004023/0.078, allocations: 422.2 kB / 356.8 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002279/0.07824, allocations: 128.5 kB / 356.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.07844, allocations: 139.4 kB / 357 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.07862, allocations: 159.2 kB / 357.2 MB, free: 15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.632e-05/0.07868, allocations: 20 kB / 357.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.413e-05/0.07873, allocations: 16 kB / 357.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.152e-05/0.07878, allocations: 59.7 kB / 357.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.07894, allocations: 188.8 kB / 357.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.07924, allocations: 395.1 kB / 357.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.07925, allocations: 0 / 357.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.07926, allocations: 0 / 357.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.07927, allocations: 4 kB / 357.8 MB, free: 14.32 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.0008941/0.08017, allocations: 0.6081 MB / 358.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.08021, allocations: 15.97 kB / 358.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.475e-05/0.08029, allocations: 40.47 kB / 358.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.0806, allocations: 303.5 kB / 358.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.08063, allocations: 25.03 kB / 358.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/0.08068, allocations: 32.38 kB / 358.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006325/0.08132, allocations: 357.4 kB / 359.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.08134, allocations: 0 / 359.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.08138, allocations: 16 kB / 359.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.08139, allocations: 8 kB / 359.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005877/0.08198, allocations: 278.4 kB / 359.5 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.08384, allocations: 1.276 MB / 360.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005858/0.08444, allocations: 307.7 kB / 361.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.08467, allocations: 96.81 kB / 361.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.08471, allocations: 7.938 kB / 361.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.08473, allocations: 34.55 kB / 361.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.08474, allocations: 0 / 361.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002138/0.08688, allocations: 0.6972 MB / 361.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.08692, allocations: 55.41 kB / 362 MB, free: 9.941 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.08722, allocations: 294.9 kB / 362.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.08725, allocations: 25.7 kB / 362.3 MB, free: 9.621 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.08737, allocations: 219.8 kB / 362.5 MB, free: 9.402 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.08742, allocations: 51.27 kB / 362.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.08746, allocations: 21.7 kB / 362.6 MB, free: 9.324 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.797e-05/0.08757, allocations: 342.8 kB / 362.9 MB, free: 8.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.08778, allocations: 83.95 kB / 363 MB, free: 8.898 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.08804, allocations: 158.3 kB / 363.1 MB, free: 8.707 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004424/0.08849, allocations: 254.1 kB / 363.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.0885, allocations: 0 / 363.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009771/0.08948, allocations: 436.7 kB / 363.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.08951, allocations: 7.938 kB / 363.8 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.08952, allocations: 7.938 kB / 363.8 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003985/0.08992, allocations: 112.8 kB / 363.9 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.09009, allocations: 39.92 kB / 364 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002646/0.09275, allocations: 1.998 MB / 366 MB, free: 5.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.09297, allocations: 35.69 kB / 366 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.093, allocations: 19.92 kB / 366 MB, free: 5.633 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.0001296/0.09313, allocations: 149.8 kB / 366.2 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.058e-05/0.09319, allocations: 23.72 kB / 366.2 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.382e-05/0.09325, allocations: 29.91 kB / 366.2 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.09326, allocations: 4 kB / 366.2 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.09327, allocations: 0 / 366.2 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.09327, allocations: 0 / 366.2 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.09452, allocations: 0.7449 MB / 367 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.09453, allocations: 4 kB / 367 MB, free: 4.605 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.483e-05/0.09462, allocations: 19.92 kB / 367 MB, free: 4.586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003305/0.09496, allocations: 105.1 kB / 367.1 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.09498, allocations: 4 kB / 367.1 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002463/0.09745, allocations: 1.983 MB / 369.1 MB, free: 2.363 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.09746, allocations: 4.062 kB / 369.1 MB, free: 2.359 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008632/0.09833, allocations: 435.7 kB / 369.5 MB, free: 1.914 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.365e-05/0.09841, allocations: 104.7 kB / 369.6 MB, free: 1.793 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.09844, allocations: 11.98 kB / 369.6 MB, free: 1.781 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.09866, allocations: 19.98 kB / 369.6 MB, free: 1.762 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.09871, allocations: 15.98 kB / 369.7 MB, free: 1.746 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.09873, allocations: 4 kB / 369.7 MB, free: 1.742 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001916/0.09893, allocations: 214 kB / 369.9 MB, free: 1.535 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09894, allocations: 0 / 369.9 MB, free: 1.535 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004388/0.09938, allocations: 91.75 kB / 370 MB, free: 1.445 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.666e-05/0.09947, allocations: 109.6 kB / 370.1 MB, free: 1.328 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006657/0.1001, allocations: 346.4 kB / 370.4 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1002, allocations: 0.6875 kB / 370.4 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003503/0.1005, allocations: 234.5 kB / 370.6 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.1009, allocations: 48.75 kB / 370.7 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1288/0.2297, allocations: 0.721 MB / 371.4 MB, free: 24.42 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.2299, allocations: 0.7673 MB / 372.2 MB, free: 23.72 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.071e-05/0.23, allocations: 21.41 kB / 372.2 MB, free: 23.71 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.23, allocations: 1.25 kB / 372.2 MB, free: 23.71 MB / 302.1 MB Notification: Performance of Templates: time 0.007439/0.2374, allocations: 4.644 MB / 376.8 MB, free: 23.52 MB / 302.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