Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002514/0.002514, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002889/0.002889, allocations: 153.5 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] 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.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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.587e-05, allocations: 2.312 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.005194/0.005219, allocations: 3.156 MB / 270.5 MB, free: 3.555 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.007251, allocations: 0.935 MB / 271.4 MB, free: 2.613 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002576/0.007508, allocations: 7.938 kB / 271.4 MB, free: 2.605 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.007726, allocations: 59.42 kB / 271.5 MB, free: 2.547 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000468/0.008194, allocations: 130.8 kB / 271.6 MB, free: 2.418 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.008636, allocations: 155.5 kB / 271.8 MB, free: 2.266 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006567/0.009293, allocations: 497.7 kB / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002298/0.009523, allocations: 99.56 kB / 272.3 MB, free: 1.676 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004772/0.01, allocations: 283.4 kB / 272.6 MB, free: 1.398 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002716/0.01027, allocations: 155.6 kB / 272.8 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.775e-05/0.01035, allocations: 40 kB / 272.8 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.01054, allocations: 67.97 kB / 272.9 MB, free: 1.141 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.01065, allocations: 91.66 kB / 273 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.01086, allocations: 159.6 kB / 273.1 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007198/0.01158, allocations: 0.5139 MB / 273.6 MB, free: 388 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.01158, allocations: 0 / 273.6 MB, free: 388 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01158, allocations: 0 / 273.6 MB, free: 388 kB / 250.7 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.0116, allocations: 0 / 273.6 MB, free: 388 kB / 250.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.001713/0.01331, allocations: 0.7798 MB / 274.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.01336, allocations: 12.92 kB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.01353, allocations: 68.66 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004441/0.01397, allocations: 255.3 kB / 274.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.428e-05/0.014, allocations: 29.03 kB / 274.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.306e-05/0.01408, allocations: 36.38 kB / 274.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007687/0.01485, allocations: 454.1 kB / 275.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.01486, allocations: 192 / 275.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.01489, allocations: 12.38 kB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.01491, allocations: 11.94 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005118/0.01542, allocations: 218.5 kB / 275.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/0.0177, allocations: 1.118 MB / 276.6 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000649/0.01835, allocations: 256 kB / 276.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000527/0.01887, allocations: 192 kB / 277 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002738/0.01915, allocations: 68.17 kB / 277.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.01919, allocations: 37.62 kB / 277.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.252e-06/0.01919, allocations: 0 / 277.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.001362/0.02055, allocations: 447.5 kB / 277.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.127e-05/0.02062, allocations: 81.09 kB / 277.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004544/0.02108, allocations: 390.2 kB / 278 MB, free: 11.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.02111, allocations: 29.7 kB / 278.1 MB, free: 11.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.02137, allocations: 279 kB / 278.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.02148, allocations: 107.2 kB / 278.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.02164, allocations: 87.67 kB / 278.5 MB, free: 11.22 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003096/0.02195, allocations: 0.5196 MB / 279.1 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.0222, allocations: 96.7 kB / 279.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003547/0.02255, allocations: 231.8 kB / 279.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005493/0.0231, allocations: 312.5 kB / 279.7 MB, free: 9.977 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.02311, allocations: 4 kB / 279.7 MB, free: 9.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000874/0.02398, allocations: 424.2 kB / 280.1 MB, free: 9.547 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.024, allocations: 7.938 kB / 280.1 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.02401, allocations: 4 kB / 280.1 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003586/0.02436, allocations: 87.81 kB / 280.2 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/0.02468, allocations: 71.91 kB / 280.3 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/0.0273, allocations: 2.43 MB / 282.7 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.02755, allocations: 31.77 kB / 282.7 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.02758, allocations: 16 kB / 282.7 MB, free: 6.777 MB / 266.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.0002203/0.0278, allocations: 196.5 kB / 282.9 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.485e-05/0.02788, allocations: 43.84 kB / 283 MB, free: 6.531 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000735/0.02862, allocations: 309.1 kB / 283.3 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.02863, allocations: 8 kB / 283.3 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.02863, allocations: 0 / 283.3 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.02864, allocations: 7.969 kB / 283.3 MB, free: 6.199 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005015/0.02914, allocations: 324.3 kB / 283.6 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.02914, allocations: 3.984 kB / 283.6 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003312/0.02948, allocations: 55.84 kB / 283.7 MB, free: 5.789 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000218/0.02969, allocations: 63.66 kB / 283.7 MB, free: 5.723 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.02972, allocations: 11.98 kB / 283.7 MB, free: 5.711 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007051/0.03042, allocations: 0.8781 MB / 284.6 MB, free: 4.801 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.03043, allocations: 0 / 284.6 MB, free: 4.801 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009772/0.0314, allocations: 0.5476 MB / 285.2 MB, free: 4.227 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.03146, allocations: 35.78 kB / 285.2 MB, free: 4.191 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.273e-05/0.03151, allocations: 11.94 kB / 285.2 MB, free: 4.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.03176, allocations: 15.98 kB / 285.2 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/0.03181, allocations: 15.97 kB / 285.2 MB, free: 4.148 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.03184, allocations: 8 kB / 285.3 MB, free: 4.141 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002889/0.03213, allocations: 263 kB / 285.5 MB, free: 3.887 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03213, allocations: 0 / 285.5 MB, free: 3.887 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000467/0.0326, allocations: 115.7 kB / 285.6 MB, free: 3.773 MB / 266.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.0002272/0.03282, allocations: 131.1 kB / 285.8 MB, free: 3.633 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009333/0.03376, allocations: 460.5 kB / 286.2 MB, free: 3.164 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.03376, allocations: 0 / 286.2 MB, free: 3.164 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003683/0.03413, allocations: 136 kB / 286.3 MB, free: 3.027 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.03447, allocations: 50.89 kB / 286.4 MB, free: 2.984 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.03583, allocations: 0.7595 MB / 287.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.03604, allocations: 182.5 kB / 287.3 MB, free: 1.992 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001347/0.03617, allocations: 38.89 kB / 287.4 MB, free: 1.957 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.527e-05/0.03626, allocations: 36.48 kB / 287.4 MB, free: 1.922 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.03626, allocations: 0 / 287.4 MB, free: 1.922 MB / 266.7 MB Notification: Performance of Templates: time 0.1057/0.142, allocations: 3.625 MB / 291 MB, free: 31.71 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.803665587096475]