Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 115.1 kB / 18.45 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002363/0.002363, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 51.92 kB / 374.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09892/0.1004, allocations: 53.33 MB / 427.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004604/0.105, allocations: 3.259 MB / 430.8 MB, free: 1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1828/0.2878, allocations: 1.025 MB / 431.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003967/0.2882, allocations: 8.312 kB / 431.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002778/0.2885, allocations: 57.81 kB / 431.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005655/0.289, allocations: 123.3 kB / 432 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004801/0.2895, allocations: 158.3 kB / 432.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006395/0.2902, allocations: 492.1 kB / 432.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002265/0.2904, allocations: 93.64 kB / 432.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003984/0.2908, allocations: 193.5 kB / 432.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.291, allocations: 214.6 kB / 433.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.633e-05/0.2911, allocations: 40.69 kB / 433.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.2913, allocations: 77.31 kB / 433.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.866e-05/0.2913, allocations: 89.77 kB / 433.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001678/0.2915, allocations: 219.8 kB / 433.5 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004553/0.292, allocations: 0.4973 MB / 434 MB, free: 7.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.292, allocations: 1.031 kB / 434 MB, free: 7.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.292, allocations: 0.7188 kB / 434 MB, free: 7.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.292, allocations: 0 / 434 MB, free: 7.836 MB / 350.1 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.001224/0.2932, allocations: 0.7521 MB / 434.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.2932, allocations: 9.531 kB / 434.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.2934, allocations: 57.36 kB / 434.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.2938, allocations: 312.8 kB / 435.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.2938, allocations: 27.78 kB / 435.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.337e-05/0.2939, allocations: 37.22 kB / 435.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006002/0.2945, allocations: 347.7 kB / 435.5 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.2945, allocations: 5.062 kB / 435.5 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.2945, allocations: 11.94 kB / 435.6 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.2945, allocations: 7.719 kB / 435.6 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004638/0.295, allocations: 239.8 kB / 435.8 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001808/0.2968, allocations: 1.174 MB / 437 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006366/0.2974, allocations: 263.8 kB / 437.2 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005082/0.2979, allocations: 195.3 kB / 437.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004977/0.2984, allocations: 1.118 MB / 438.5 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.2985, allocations: 40.92 kB / 438.6 MB, free: 5.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.863e-06/0.2985, allocations: 1.312 kB / 438.6 MB, free: 5.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001329/0.2998, allocations: 0.528 MB / 439.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.2998, allocations: 81.36 kB / 439.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003295/0.3001, allocations: 335.9 kB / 439.5 MB, free: 4.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.3002, allocations: 32.39 kB / 439.5 MB, free: 4.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.3003, allocations: 219 kB / 439.8 MB, free: 4.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.913e-05/0.3003, allocations: 108.6 kB / 439.9 MB, free: 4.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.3004, allocations: 70.2 kB / 439.9 MB, free: 4.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.447e-05/0.3005, allocations: 354.4 kB / 440.3 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.3007, allocations: 105.7 kB / 440.4 MB, free: 3.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.301, allocations: 184.6 kB / 440.6 MB, free: 3.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004616/0.3015, allocations: 288.2 kB / 440.8 MB, free: 3.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3015, allocations: 1.094 kB / 440.8 MB, free: 3.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007817/0.3022, allocations: 434 kB / 441.3 MB, free: 3.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3023, allocations: 6.109 kB / 441.3 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3023, allocations: 2.219 kB / 441.3 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000266/0.3025, allocations: 69.58 kB / 441.3 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.3028, allocations: 72.64 kB / 441.4 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.3043, allocations: 1.953 MB / 443.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.3046, allocations: 39.42 kB / 443.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.3046, allocations: 14.88 kB / 443.4 MB, free: 1.613 MB / 350.1 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.0001347/0.3047, allocations: 157.9 kB / 443.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.758e-05/0.3048, allocations: 38.45 kB / 443.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006981/0.3055, allocations: 325.5 kB / 443.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3055, allocations: 2.953 kB / 443.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.3055, allocations: 1.25 kB / 443.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.3055, allocations: 9.438 kB / 443.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004088/0.3059, allocations: 393.5 kB / 444.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3059, allocations: 0.5 kB / 444.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003377/0.3063, allocations: 60.94 kB / 444.4 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001918/0.3065, allocations: 61.34 kB / 444.5 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.3065, allocations: 8.828 kB / 444.5 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003181/0.3068, allocations: 0.6113 MB / 445.1 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3068, allocations: 3.125 kB / 445.1 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000907/0.3077, allocations: 0.5257 MB / 445.6 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.633e-05/0.3078, allocations: 118.1 kB / 445.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.876e-05/0.3078, allocations: 6.156 kB / 445.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002914/0.3081, allocations: 20.27 kB / 445.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/0.3082, allocations: 14.92 kB / 445.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.3082, allocations: 10.23 kB / 445.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002716/0.3085, allocations: 242.6 kB / 446 MB, free: 15.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3085, allocations: 3.938 kB / 446 MB, free: 15.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004749/0.309, allocations: 115.4 kB / 446.1 MB, free: 15.82 MB / 366.1 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.0001961/0.3092, allocations: 121.2 kB / 446.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008789/0.31, allocations: 401.7 kB / 446.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.31, allocations: 0 / 446.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003642/0.3104, allocations: 131.6 kB / 446.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.3108, allocations: 43.86 kB / 446.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.3122, allocations: 0.9101 MB / 447.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.3127, allocations: 0.7976 MB / 448.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.3128, allocations: 29.55 kB / 448.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3128, allocations: 0 / 448.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of Templates: time 0.009022/0.3218, allocations: 5.482 MB / 454 MB, free: 13.17 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.634541573992465]