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.001039/0.001039, allocations: 80.8 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.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.001168/0.001168, allocations: 170.3 kB / 24.91 MB, free: 8.777 MB / 18.57 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 0.9375/0.9375, allocations: 177.1 MB / 205.3 MB, free: 5.125 MB / 186.7 MB " [Timeout remaining time 179] 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 1.303e-06/1.303e-06, allocations: 0 / 273.5 MB, free: 1.129 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.634e-05/1.764e-05, allocations: 5.266 kB / 273.5 MB, free: 1.125 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003131/0.003149, allocations: 3.228 MB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.004537, allocations: 1.013 MB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.004662, allocations: 7.938 kB / 277.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.004791, allocations: 59.42 kB / 277.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002636/0.005055, allocations: 134.7 kB / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.00527, allocations: 159.5 kB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.005566, allocations: 0.4939 MB / 278.6 MB, free: 12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.00571, allocations: 100.2 kB / 278.7 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002728/0.005983, allocations: 291.3 kB / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.006129, allocations: 151.6 kB / 279.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.252e-05/0.006171, allocations: 40 kB / 279.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.006289, allocations: 83.94 kB / 279.2 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.566e-05/0.006334, allocations: 95.66 kB / 279.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.064e-05/0.006425, allocations: 151.6 kB / 279.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.006708, allocations: 362.7 kB / 279.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.00671, allocations: 0 / 279.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.00671, allocations: 0 / 279.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.006714, allocations: 0 / 279.8 MB, free: 10.75 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.0006441/0.007359, allocations: 0.6397 MB / 280.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.007388, allocations: 8.031 kB / 280.5 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.007506, allocations: 64.88 kB / 280.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.007708, allocations: 220.6 kB / 280.8 MB, free: 9.777 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.007724, allocations: 29.03 kB / 280.8 MB, free: 9.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/0.007763, allocations: 36.38 kB / 280.8 MB, free: 9.715 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.008048, allocations: 369 kB / 281.2 MB, free: 9.312 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.008057, allocations: 192 / 281.2 MB, free: 9.312 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.008077, allocations: 16.38 kB / 281.2 MB, free: 9.297 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.008084, allocations: 11.92 kB / 281.2 MB, free: 9.285 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.00819, allocations: 88.55 kB / 281.3 MB, free: 9.199 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000859/0.009049, allocations: 0.8035 MB / 282.1 MB, free: 8.344 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.00926, allocations: 163.1 kB / 282.3 MB, free: 8.176 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.009431, allocations: 137.2 kB / 282.4 MB, free: 8.039 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/0.009555, allocations: 76.16 kB / 282.5 MB, free: 7.965 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.009573, allocations: 34.8 kB / 282.5 MB, free: 7.922 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.172e-06/0.009575, allocations: 4 kB / 282.5 MB, free: 7.918 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004647/0.01004, allocations: 272.8 kB / 282.8 MB, free: 7.645 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.01007, allocations: 77.11 kB / 282.9 MB, free: 7.551 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.01021, allocations: 270.9 kB / 283.1 MB, free: 7.273 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.01023, allocations: 33.7 kB / 283.2 MB, free: 7.234 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.214e-05/0.0103, allocations: 196.8 kB / 283.3 MB, free: 7.039 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/0.01035, allocations: 111 kB / 283.5 MB, free: 6.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.447e-05/0.01041, allocations: 70.03 kB / 283.5 MB, free: 6.855 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.491e-05/0.01049, allocations: 338.8 kB / 283.9 MB, free: 6.516 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.43e-05/0.01054, allocations: 40.72 kB / 283.9 MB, free: 6.477 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.922e-05/0.01063, allocations: 147.5 kB / 284 MB, free: 6.297 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.01078, allocations: 175.6 kB / 284.2 MB, free: 6.098 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01078, allocations: 0 / 284.2 MB, free: 6.098 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002491/0.01103, allocations: 245.8 kB / 284.4 MB, free: 5.848 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.01104, allocations: 8 kB / 284.5 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.01104, allocations: 0 / 284.5 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001564/0.0112, allocations: 76.97 kB / 284.5 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.0114, allocations: 83.88 kB / 284.6 MB, free: 5.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009577/0.01236, allocations: 1.555 MB / 286.2 MB, free: 4.039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.889e-05/0.01246, allocations: 35.72 kB / 286.2 MB, free: 4.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.01248, allocations: 15.94 kB / 286.2 MB, free: 3.988 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 9.019e-05/0.01257, allocations: 129.8 kB / 286.3 MB, free: 3.852 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.714e-05/0.0126, allocations: 31.97 kB / 286.4 MB, free: 3.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.01282, allocations: 202.2 kB / 286.6 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.01282, allocations: 0 / 286.6 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.01283, allocations: 4 kB / 286.6 MB, free: 3.609 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.01283, allocations: 0 / 286.6 MB, free: 3.609 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.013, allocations: 197.6 kB / 286.8 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01301, allocations: 0 / 286.8 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.01321, allocations: 71.88 kB / 286.8 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/0.01332, allocations: 40.83 kB / 286.9 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.01333, allocations: 7.984 kB / 286.9 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002602/0.01359, allocations: 0.5601 MB / 287.5 MB, free: 2.691 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01359, allocations: 3.938 kB / 287.5 MB, free: 2.688 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003784/0.01397, allocations: 329.5 kB / 287.8 MB, free: 2.348 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.01401, allocations: 31.75 kB / 287.8 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.01405, allocations: 7.938 kB / 287.8 MB, free: 2.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.01423, allocations: 19.98 kB / 287.8 MB, free: 2.289 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.01428, allocations: 11.97 kB / 287.8 MB, free: 2.277 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.01429, allocations: 8 kB / 287.9 MB, free: 2.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001123/0.01441, allocations: 100.6 kB / 288 MB, free: 2.168 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01441, allocations: 0 / 288 MB, free: 2.168 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003849/0.01479, allocations: 111.8 kB / 288.1 MB, free: 2.059 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.0001391/0.01493, allocations: 116.2 kB / 288.2 MB, free: 1.934 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003228/0.01525, allocations: 286.1 kB / 288.5 MB, free: 1.641 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.01526, allocations: 4 kB / 288.5 MB, free: 1.637 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.01537, allocations: 105.6 kB / 288.6 MB, free: 1.531 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.01554, allocations: 44.98 kB / 288.6 MB, free: 1.488 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000908/0.01645, allocations: 0.6647 MB / 289.3 MB, free: 0.793 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.343e-05/0.01651, allocations: 100.6 kB / 289.4 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.479e-05/0.01659, allocations: 34.95 kB / 289.4 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.01671, allocations: 107.3 kB / 289.5 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01671, allocations: 4 kB / 289.5 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of Templates: time 0.1026/0.1193, allocations: 3.979 MB / 293.5 MB, free: 25.35 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",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.792298596818]