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.001003/0.001003, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.0008603/0.0008603, allocations: 148.6 kB / 24.89 MB, free: 8.742 MB / 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 0.9263/0.9263, allocations: 173.4 MB / 201.5 MB, free: 8.734 MB / 186.7 MB " [Timeout remaining time 179] 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.143e-06/1.143e-06, allocations: 0 / 268.5 MB, free: 5.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.523e-05, allocations: 10.05 kB / 268.5 MB, free: 5.961 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.002916/0.002931, allocations: 3.185 MB / 271.7 MB, free: 2.754 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.00409, allocations: 0.9697 MB / 272.7 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.004206, allocations: 4 kB / 272.7 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.004331, allocations: 55.42 kB / 272.7 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.004586, allocations: 134.8 kB / 272.9 MB, free: 1.586 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.004821, allocations: 151.5 kB / 273 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003272/0.005148, allocations: 497.7 kB / 273.5 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.005296, allocations: 104.3 kB / 273.6 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.005527, allocations: 279.4 kB / 273.9 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.005673, allocations: 163.4 kB / 274 MB, free: 412 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.792e-05/0.00571, allocations: 36 kB / 274.1 MB, free: 376 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.005827, allocations: 79.95 kB / 274.2 MB, free: 296 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.826e-05/0.005875, allocations: 91.66 kB / 274.3 MB, free: 204 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.504e-05/0.00596, allocations: 147.7 kB / 274.4 MB, free: 56 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.006261, allocations: 350.8 kB / 274.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.006262, allocations: 4 kB / 274.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.006263, allocations: 0 / 274.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.006267, allocations: 4 kB / 274.7 MB, free: 15.7 MB / 266.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.0006442/0.006911, allocations: 0.6358 MB / 275.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.796e-05/0.006939, allocations: 8.922 kB / 275.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.771e-05/0.006997, allocations: 56.89 kB / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.007206, allocations: 212.6 kB / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.007221, allocations: 24.97 kB / 275.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.244e-05/0.007264, allocations: 44.31 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.007566, allocations: 377 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.007574, allocations: 192 / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.007592, allocations: 12.38 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.007602, allocations: 15.92 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.007716, allocations: 88.55 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000878/0.008594, allocations: 0.7997 MB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.008794, allocations: 157.9 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.008973, allocations: 145.2 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.009107, allocations: 72.16 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.009128, allocations: 34.8 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.162e-06/0.009129, allocations: 4 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004601/0.009589, allocations: 264.8 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.009618, allocations: 81.11 kB / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.00976, allocations: 274.9 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.009779, allocations: 33.7 kB / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.329e-05/0.009852, allocations: 196.8 kB / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.01003, allocations: 103.1 kB / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-05/0.0101, allocations: 81.91 kB / 278.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.729e-05/0.01018, allocations: 342.8 kB / 278.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.684e-05/0.01024, allocations: 36.73 kB / 278.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.706e-05/0.01032, allocations: 143.5 kB / 278.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.01047, allocations: 171.3 kB / 279.1 MB, free: 11.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.01047, allocations: 0 / 279.1 MB, free: 11.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000261/0.01073, allocations: 249.8 kB / 279.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.01074, allocations: 8 kB / 279.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.01074, allocations: 3.938 kB / 279.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000159/0.0109, allocations: 68.78 kB / 279.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.01112, allocations: 91.86 kB / 279.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008721/0.01199, allocations: 1.555 MB / 281.1 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.01209, allocations: 31.78 kB / 281.1 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.01211, allocations: 15.97 kB / 281.1 MB, free: 8.953 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 8.247e-05/0.01219, allocations: 129.7 kB / 281.2 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.01223, allocations: 31.97 kB / 281.3 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.01244, allocations: 190.4 kB / 281.5 MB, free: 8.586 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.01244, allocations: 3.938 kB / 281.5 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.32e-07/0.01244, allocations: 0 / 281.5 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.01244, allocations: 0 / 281.5 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.01262, allocations: 189.6 kB / 281.6 MB, free: 8.379 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01262, allocations: 0 / 281.6 MB, free: 8.379 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.01281, allocations: 75.86 kB / 281.7 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001078/0.01292, allocations: 48.81 kB / 281.8 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.01294, allocations: 12 kB / 281.8 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001987/0.01313, allocations: 0.5601 MB / 282.3 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01314, allocations: 0 / 282.3 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.01338, allocations: 320.8 kB / 282.7 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.725e-05/0.01341, allocations: 31.73 kB / 282.7 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.01344, allocations: 15.97 kB / 282.7 MB, free: 7.273 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.01354, allocations: 12 kB / 282.7 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.01357, allocations: 19.95 kB / 282.7 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.01358, allocations: 8 kB / 282.7 MB, free: 7.234 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.553e-05/0.01365, allocations: 96.62 kB / 282.8 MB, free: 7.137 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01365, allocations: 0 / 282.8 MB, free: 7.137 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002486/0.01389, allocations: 119.7 kB / 282.9 MB, free: 7.02 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.0001086/0.014, allocations: 116.2 kB / 283.1 MB, free: 6.898 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000298/0.0143, allocations: 294.5 kB / 283.3 MB, free: 6.598 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.01431, allocations: 4 kB / 283.4 MB, free: 6.594 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.01441, allocations: 92.67 kB / 283.4 MB, free: 6.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.01457, allocations: 37.14 kB / 283.5 MB, free: 6.465 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007932/0.01536, allocations: 0.6719 MB / 284.2 MB, free: 5.762 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.97e-05/0.01541, allocations: 96.61 kB / 284.2 MB, free: 5.648 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.258e-05/0.01549, allocations: 38.89 kB / 284.3 MB, free: 5.609 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.01562, allocations: 99.34 kB / 284.4 MB, free: 5.512 MB / 266.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01562, allocations: 0 / 284.4 MB, free: 5.512 MB / 266.7 MB Notification: Performance of Templates: time 0.005677/0.0213, allocations: 3.986 MB / 288.4 MB, free: 1.586 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 -s gbode -gbm=radauIIA3 -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5893808831460774]