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.0008208/0.0008208, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003467/0.003467, allocations: 165.1 kB / 24.7 MB, free: 9.426 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.8394/0.8394, allocations: 177.2 MB / 205 MB, free: 5.734 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 9.82e-07/9.82e-07, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.482e-05/1.58e-05, allocations: 6.219 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.002498/0.002514, allocations: 2.991 MB / 328.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.00353, allocations: 0.9584 MB / 329.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.003642, allocations: 4 kB / 329.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.003752, allocations: 67.3 kB / 329.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.003973, allocations: 134.8 kB / 330 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.004193, allocations: 163.5 kB / 330.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.004497, allocations: 0.4938 MB / 330.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.004647, allocations: 87.7 kB / 330.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002473/0.004894, allocations: 287.3 kB / 331 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.005021, allocations: 147.6 kB / 331.2 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.005057, allocations: 40 kB / 331.2 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.912e-05/0.005146, allocations: 75.97 kB / 331.3 MB, free: 9.965 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.551e-05/0.005192, allocations: 99.59 kB / 331.4 MB, free: 9.867 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.189e-05/0.005283, allocations: 151.6 kB / 331.5 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.00564, allocations: 0.5101 MB / 332 MB, free: 9.207 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.005642, allocations: 0 / 332 MB, free: 9.207 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005643, allocations: 0 / 332 MB, free: 9.207 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.005647, allocations: 0 / 332 MB, free: 9.207 MB / 298.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.0007503/0.006398, allocations: 0.6646 MB / 332.7 MB, free: 8.512 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.006427, allocations: 8.031 kB / 332.7 MB, free: 8.504 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.006539, allocations: 56.64 kB / 332.8 MB, free: 8.449 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.006797, allocations: 260.5 kB / 333 MB, free: 8.172 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.006819, allocations: 28.97 kB / 333 MB, free: 8.141 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.006856, allocations: 36.38 kB / 333.1 MB, free: 8.105 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004233/0.00728, allocations: 444.4 kB / 333.5 MB, free: 7.637 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.007292, allocations: 4.172 kB / 333.5 MB, free: 7.633 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.007315, allocations: 16.38 kB / 333.5 MB, free: 7.617 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.007322, allocations: 15.88 kB / 333.5 MB, free: 7.602 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002866/0.007608, allocations: 222.5 kB / 333.8 MB, free: 7.383 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.008642, allocations: 0.9811 MB / 334.7 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.009026, allocations: 251.5 kB / 335 MB, free: 6.086 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002787/0.009304, allocations: 189.2 kB / 335.2 MB, free: 5.898 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001639/0.009468, allocations: 72.16 kB / 335.2 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.009487, allocations: 46.67 kB / 335.3 MB, free: 5.773 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.152e-06/0.009488, allocations: 0 / 335.3 MB, free: 5.773 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.000733/0.01022, allocations: 434.2 kB / 335.7 MB, free: 5.344 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.01026, allocations: 81.11 kB / 335.8 MB, free: 5.246 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.01045, allocations: 308.5 kB / 336.1 MB, free: 4.938 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.01047, allocations: 29.7 kB / 336.1 MB, free: 4.902 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.01057, allocations: 224.3 kB / 336.3 MB, free: 4.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.101e-05/0.01062, allocations: 107.2 kB / 336.4 MB, free: 4.574 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.918e-05/0.01069, allocations: 66.08 kB / 336.5 MB, free: 4.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.713e-05/0.01078, allocations: 346.8 kB / 336.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.01091, allocations: 96.7 kB / 336.9 MB, free: 4.059 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.01108, allocations: 207.4 kB / 337.1 MB, free: 3.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.01138, allocations: 279.4 kB / 337.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01138, allocations: 0 / 337.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004446/0.01183, allocations: 417.3 kB / 337.8 MB, free: 3.102 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.01184, allocations: 8 kB / 337.8 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.01184, allocations: 0 / 337.8 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001641/0.01201, allocations: 73.06 kB / 337.9 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.01216, allocations: 75.83 kB / 338 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.01327, allocations: 1.813 MB / 339.8 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.01338, allocations: 35.73 kB / 339.8 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.01339, allocations: 19.92 kB / 339.8 MB, free: 0.9727 MB / 298.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.0001037/0.0135, allocations: 149.7 kB / 340 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.01353, allocations: 31.81 kB / 340 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003926/0.01392, allocations: 325.6 kB / 340.3 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01393, allocations: 0 / 340.3 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.01393, allocations: 0 / 340.3 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.01393, allocations: 0 / 340.3 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.01416, allocations: 288.9 kB / 340.6 MB, free: 144 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01416, allocations: 0 / 340.6 MB, free: 144 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.01432, allocations: 55.89 kB / 340.7 MB, free: 88 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001159/0.01443, allocations: 64.81 kB / 340.7 MB, free: 20 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.01445, allocations: 7.984 kB / 340.7 MB, free: 12 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002634/0.01471, allocations: 0.5992 MB / 341.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.01471, allocations: 0 / 341.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004986/0.01521, allocations: 0.4966 MB / 341.8 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.9e-05/0.01524, allocations: 27.75 kB / 341.9 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.01526, allocations: 16 kB / 341.9 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.01537, allocations: 15.98 kB / 341.9 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.0154, allocations: 23.95 kB / 341.9 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.01541, allocations: 4 kB / 341.9 MB, free: 14.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001224/0.01554, allocations: 211.1 kB / 342.1 MB, free: 14.58 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01554, allocations: 0 / 342.1 MB, free: 14.58 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002603/0.0158, allocations: 107.8 kB / 342.2 MB, free: 14.48 MB / 314.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.0001403/0.01594, allocations: 143.1 kB / 342.4 MB, free: 14.33 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004705/0.01641, allocations: 386.1 kB / 342.8 MB, free: 13.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01641, allocations: 0 / 342.8 MB, free: 13.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.01658, allocations: 128.4 kB / 342.9 MB, free: 13.81 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.01679, allocations: 44.67 kB / 342.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007632/0.01755, allocations: 0.771 MB / 343.7 MB, free: 12.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.69e-05/0.01765, allocations: 186.5 kB / 343.9 MB, free: 12.76 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.905e-05/0.01771, allocations: 32.48 kB / 343.9 MB, free: 12.73 MB / 314.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01771, allocations: 7.938 kB / 343.9 MB, free: 12.72 MB / 314.7 MB Notification: Performance of Templates: time 0.004416/0.02213, allocations: 5.473 MB / 349.4 MB, free: 7.25 MB / 314.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=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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins/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: 4.406236369162798]