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.001852/0.001852, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001814/0.001814, allocations: 206.6 kB / 24.47 MB, free: 3.977 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 2.077/2.077, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.006631/0.006631, allocations: 51.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3471, allocations: 53.36 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.005673/0.3528, allocations: 2.965 MB / 435.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002775/0.3556, allocations: 0.9584 MB / 436.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004476/0.356, allocations: 4 kB / 436.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000336/0.3564, allocations: 71.34 kB / 436.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007349/0.3571, allocations: 127 kB / 436.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006788/0.3578, allocations: 155.6 kB / 436.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008609/0.3586, allocations: 489.9 kB / 437.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002857/0.3589, allocations: 102.6 kB / 437.2 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004611/0.3594, allocations: 195.3 kB / 437.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003319/0.3597, allocations: 207.1 kB / 437.6 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.672e-05/0.3598, allocations: 43.94 kB / 437.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002275/0.36, allocations: 83.97 kB / 437.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.3601, allocations: 87.73 kB / 437.8 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.3603, allocations: 179.1 kB / 438 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007206/0.3611, allocations: 0.5016 MB / 438.5 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3611, allocations: 0 / 438.5 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3611, allocations: 0 / 438.5 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.3611, allocations: 0 / 438.5 MB, free: 0.5508 MB / 334.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.001849/0.3629, allocations: 0.6645 MB / 439.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.31e-05/0.363, allocations: 12.03 kB / 439.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000304/0.3633, allocations: 52.66 kB / 439.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007364/0.364, allocations: 257.3 kB / 439.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.456e-05/0.3641, allocations: 25.03 kB / 439.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.908e-05/0.3642, allocations: 40.36 kB / 439.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009502/0.3651, allocations: 444.2 kB / 439.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.3651, allocations: 0 / 439.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.607e-05/0.3652, allocations: 12 kB / 440 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.3652, allocations: 8 kB / 440 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006713/0.3659, allocations: 234.4 kB / 440.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002519/0.3684, allocations: 0.9843 MB / 441.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008924/0.3693, allocations: 246.9 kB / 441.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007389/0.37, allocations: 205.1 kB / 441.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004369/0.3705, allocations: 68.16 kB / 441.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.589e-05/0.3705, allocations: 42.8 kB / 441.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 3.627e-06/0.3705, allocations: 0 / 441.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001774/0.3723, allocations: 440.6 kB / 442.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/0.3724, allocations: 85.11 kB / 442.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004392/0.3728, allocations: 296.5 kB / 442.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.3728, allocations: 33.7 kB / 442.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.3731, allocations: 220.3 kB / 442.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.3732, allocations: 115 kB / 442.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.3733, allocations: 66.06 kB / 443 MB, free: 11.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.3735, allocations: 342.8 kB / 443.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/0.3739, allocations: 104.6 kB / 443.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/0.3743, allocations: 207.5 kB / 443.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006626/0.3749, allocations: 280.6 kB / 443.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3749, allocations: 0 / 443.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001081/0.376, allocations: 413.4 kB / 444.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.376, allocations: 7.125 kB / 444.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.376, allocations: 4 kB / 444.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003485/0.3764, allocations: 73 kB / 444.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004341/0.3768, allocations: 75.89 kB / 444.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002514/0.3793, allocations: 1.813 MB / 446.2 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003317/0.3797, allocations: 35.72 kB / 446.3 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/0.3797, allocations: 16 kB / 446.3 MB, free: 8.32 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.0002254/0.3799, allocations: 149.8 kB / 446.4 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.768e-05/0.38, allocations: 35.75 kB / 446.5 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009264/0.3809, allocations: 313.4 kB / 446.8 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.3809, allocations: 4 kB / 446.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.381, allocations: 192 / 446.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.381, allocations: 3.984 kB / 446.8 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004984/0.3815, allocations: 281 kB / 447.1 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3815, allocations: 3.938 kB / 447.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004486/0.3819, allocations: 55.95 kB / 447.1 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002363/0.3821, allocations: 56.83 kB / 447.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/0.3822, allocations: 11.98 kB / 447.2 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005496/0.3827, allocations: 0.6147 MB / 447.8 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3827, allocations: 0 / 447.8 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.3839, allocations: 0.4947 MB / 448.3 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.197e-05/0.384, allocations: 39.75 kB / 448.3 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.931e-05/0.3841, allocations: 4 kB / 448.3 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.3844, allocations: 19.98 kB / 448.4 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.15e-05/0.3845, allocations: 15.95 kB / 448.4 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.3845, allocations: 12 kB / 448.4 MB, free: 6.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000295/0.3848, allocations: 203.1 kB / 448.6 MB, free: 5.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3848, allocations: 0 / 448.6 MB, free: 5.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007375/0.3855, allocations: 119.8 kB / 448.7 MB, free: 5.805 MB / 350.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.0002692/0.3858, allocations: 123.2 kB / 448.8 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.3869, allocations: 390.6 kB / 449.2 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3869, allocations: 0 / 449.2 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004531/0.3874, allocations: 132.4 kB / 449.3 MB, free: 5.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.3879, allocations: 36.58 kB / 449.4 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.3898, allocations: 0.8704 MB / 450.2 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.3901, allocations: 186.5 kB / 450.4 MB, free: 4.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001912/0.3903, allocations: 34.97 kB / 450.5 MB, free: 3.988 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.3904, allocations: 31.42 kB / 450.5 MB, free: 3.957 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3904, allocations: 0 / 450.5 MB, free: 3.957 MB / 350.1 MB Notification: Performance of Templates: time 0.01222/0.4026, allocations: 4.118 MB / 454.6 MB, free: 15.88 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 -s cvode -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: 6.889460698002949]