Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001152/0.001152, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.005129/0.005129, allocations: 156 kB / 24.7 MB, free: 9.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8686/0.8686, allocations: 177 MB / 204.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.227e-05, allocations: 2.281 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.002826/0.002849, allocations: 2.977 MB / 328.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.004488, allocations: 0.9545 MB / 329.7 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.004656, allocations: 4 kB / 329.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.004806, allocations: 63.36 kB / 329.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.005109, allocations: 134.8 kB / 329.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.005387, allocations: 163.5 kB / 330.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003315/0.005719, allocations: 0.4899 MB / 330.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.005899, allocations: 91.69 kB / 330.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002953/0.006194, allocations: 291.4 kB / 330.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.006339, allocations: 155.5 kB / 331.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.006381, allocations: 36 kB / 331.1 MB, free: 9.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.006492, allocations: 79.95 kB / 331.2 MB, free: 9.902 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.679e-05/0.006539, allocations: 91.66 kB / 331.3 MB, free: 9.812 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.088e-05/0.00663, allocations: 139.7 kB / 331.4 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004275/0.007057, allocations: 0.5178 MB / 332 MB, free: 9.156 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.007063, allocations: 4 kB / 332 MB, free: 9.152 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.007065, allocations: 0 / 332 MB, free: 9.152 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.007071, allocations: 4 kB / 332 MB, free: 9.148 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008822/0.007954, allocations: 0.6568 MB / 332.6 MB, free: 8.461 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.007994, allocations: 11.98 kB / 332.6 MB, free: 8.449 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.00813, allocations: 60.64 kB / 332.7 MB, free: 8.391 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.008455, allocations: 260.4 kB / 332.9 MB, free: 8.113 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.008477, allocations: 25.03 kB / 333 MB, free: 8.086 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.341e-05/0.00852, allocations: 36.38 kB / 333 MB, free: 8.051 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004395/0.00896, allocations: 452.3 kB / 333.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.008971, allocations: 192 / 333.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.008994, allocations: 16.38 kB / 333.5 MB, free: 7.559 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.009004, allocations: 15.92 kB / 333.5 MB, free: 7.543 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.009298, allocations: 226.5 kB / 333.7 MB, free: 7.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.01042, allocations: 0.9811 MB / 334.7 MB, free: 6.277 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004012/0.01082, allocations: 239.6 kB / 334.9 MB, free: 6.035 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.01111, allocations: 194.7 kB / 335.1 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001814/0.01129, allocations: 80.16 kB / 335.2 MB, free: 5.766 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.01131, allocations: 30.8 kB / 335.2 MB, free: 5.727 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.463e-06/0.01131, allocations: 4 kB / 335.2 MB, free: 5.723 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007934/0.0121, allocations: 441.2 kB / 335.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.01215, allocations: 81.11 kB / 335.7 MB, free: 5.188 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004621/0.01261, allocations: 300.5 kB / 336 MB, free: 4.887 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.01263, allocations: 33.64 kB / 336.1 MB, free: 4.848 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.01274, allocations: 228.3 kB / 336.3 MB, free: 4.621 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/0.01279, allocations: 107.1 kB / 336.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.171e-05/0.01286, allocations: 70.06 kB / 336.5 MB, free: 4.438 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.559e-05/0.01294, allocations: 342.8 kB / 336.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.01308, allocations: 100.7 kB / 336.9 MB, free: 3.996 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.01324, allocations: 203.5 kB / 337.1 MB, free: 3.762 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/0.01354, allocations: 287 kB / 337.4 MB, free: 3.453 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01354, allocations: 0 / 337.4 MB, free: 3.453 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004771/0.01402, allocations: 425.5 kB / 337.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.01403, allocations: 8 kB / 337.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.01404, allocations: 0 / 337.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001855/0.01423, allocations: 64.81 kB / 337.8 MB, free: 2.953 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.01439, allocations: 71.91 kB / 337.9 MB, free: 2.883 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.0156, allocations: 1.805 MB / 339.7 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.01573, allocations: 43.72 kB / 339.8 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.01575, allocations: 8 kB / 339.8 MB, free: 0.9258 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 36 * 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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.01587, allocations: 157.8 kB / 339.9 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.01591, allocations: 35.8 kB / 340 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004255/0.01634, allocations: 321.7 kB / 340.3 MB, free: 408 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.01634, allocations: 7.984 kB / 340.3 MB, free: 400 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.01634, allocations: 3.938 kB / 340.3 MB, free: 396 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.01634, allocations: 0 / 340.3 MB, free: 396 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.0166, allocations: 280.9 kB / 340.6 MB, free: 84 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.0166, allocations: 4 kB / 340.6 MB, free: 80 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.01676, allocations: 59.97 kB / 340.6 MB, free: 20 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001469/0.01691, allocations: 64.73 kB / 340.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.01693, allocations: 8 kB / 340.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002678/0.0172, allocations: 0.6031 MB / 341.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.0172, allocations: 0 / 341.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005222/0.01772, allocations: 0.4933 MB / 341.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.01775, allocations: 35.73 kB / 341.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.01778, allocations: 11.94 kB / 341.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.01789, allocations: 15.98 kB / 341.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.01793, allocations: 15.97 kB / 341.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.01794, allocations: 8 kB / 341.9 MB, free: 14.72 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001341/0.01808, allocations: 215.1 kB / 342.1 MB, free: 14.51 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01808, allocations: 0 / 342.1 MB, free: 14.51 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003066/0.01839, allocations: 107.8 kB / 342.2 MB, free: 14.41 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * 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 (20): * Single equations (assignments): 19 * 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.0001843/0.01857, allocations: 139 kB / 342.3 MB, free: 14.26 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005453/0.01911, allocations: 394.2 kB / 342.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01912, allocations: 0 / 342.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.01929, allocations: 119.9 kB / 342.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.01954, allocations: 36.42 kB / 342.9 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.02068, allocations: 0.7753 MB / 343.6 MB, free: 12.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.02078, allocations: 186.5 kB / 343.8 MB, free: 12.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.124e-05/0.02084, allocations: 32.48 kB / 343.9 MB, free: 12.67 MB / 314.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02084, allocations: 0 / 343.9 MB, free: 12.67 MB / 314.7 MB Notification: Performance of Templates: time 0.005261/0.0261, allocations: 5.477 MB / 349.3 MB, free: 7.195 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.308439246378839]