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.001588/0.001588, allocations: 116.5 kB / 18.41 MB, free: 4.684 MB / 14.72 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.001687/0.001687, allocations: 190.7 kB / 21.35 MB, free: 1.75 MB / 14.72 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 1.477/1.477, allocations: 222.9 MB / 247 MB, free: 4.359 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001531/0.001531, allocations: 51.91 kB / 358.7 MB, free: 8.641 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09889/0.1004, allocations: 49.43 MB / 408.1 MB, free: 7.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004521/0.105, allocations: 3.225 MB / 411.3 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.1068, allocations: 0.9624 MB / 412.3 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.1069, allocations: 4 kB / 412.3 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.1071, allocations: 63.42 kB / 412.4 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003692/0.1075, allocations: 126.9 kB / 412.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.1079, allocations: 139.7 kB / 412.6 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005132/0.1084, allocations: 489.9 kB / 413.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002428/0.1087, allocations: 131.2 kB / 413.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/0.1089, allocations: 187.3 kB / 413.4 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.1092, allocations: 207.1 kB / 413.6 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.58e-05/0.1093, allocations: 40 kB / 413.7 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.1094, allocations: 75.97 kB / 413.7 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.1096, allocations: 99.61 kB / 413.8 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.1098, allocations: 219 kB / 414 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005884/0.1104, allocations: 494 kB / 414.5 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1104, allocations: 4 kB / 414.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1104, allocations: 0 / 414.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.1104, allocations: 0 / 414.5 MB, free: 0.7188 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.001459/0.1119, allocations: 0.7494 MB / 415.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.1119, allocations: 12.03 kB / 415.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.861e-05/0.112, allocations: 44.66 kB / 415.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004458/0.1125, allocations: 315.5 kB / 415.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.1125, allocations: 29.03 kB / 415.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.84e-05/0.1126, allocations: 40.3 kB / 415.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006936/0.1133, allocations: 349.3 kB / 416 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1133, allocations: 0 / 416 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.036e-05/0.1134, allocations: 16 kB / 416.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.1134, allocations: 8 kB / 416.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005206/0.1139, allocations: 234.5 kB / 416.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002058/0.116, allocations: 1.167 MB / 417.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006962/0.1167, allocations: 275.5 kB / 417.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000545/0.1172, allocations: 218 kB / 417.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009513/0.1182, allocations: 1.113 MB / 419.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/0.1183, allocations: 42.72 kB / 419.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.523e-06/0.1183, allocations: 0 / 419.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001438/0.1197, allocations: 0.5266 MB / 419.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.1198, allocations: 81.11 kB / 419.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004003/0.1202, allocations: 336.5 kB / 420 MB, free: 10.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.1202, allocations: 33.7 kB / 420.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.1204, allocations: 216.5 kB / 420.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.028e-05/0.1205, allocations: 107.1 kB / 420.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.1206, allocations: 73.97 kB / 420.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.1208, allocations: 346.7 kB / 420.8 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/0.1211, allocations: 108.7 kB / 420.9 MB, free: 9.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.1214, allocations: 185.7 kB / 421.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005496/0.122, allocations: 296.3 kB / 421.4 MB, free: 9.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.122, allocations: 4 kB / 421.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008611/0.1229, allocations: 421.9 kB / 421.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.1229, allocations: 12 kB / 421.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.1229, allocations: 0 / 421.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000273/0.1232, allocations: 68.81 kB / 421.9 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/0.1235, allocations: 83.88 kB / 422 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/0.1257, allocations: 1.959 MB / 423.9 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.126, allocations: 43.66 kB / 424 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.126, allocations: 16 kB / 424 MB, free: 6.527 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.0001756/0.1262, allocations: 145.7 kB / 424.1 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-05/0.1263, allocations: 39.77 kB / 424.1 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007723/0.127, allocations: 338.5 kB / 424.5 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.1271, allocations: 4 kB / 424.5 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1271, allocations: 3.938 kB / 424.5 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.1271, allocations: 3.984 kB / 424.5 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005083/0.1276, allocations: 389.3 kB / 424.9 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1276, allocations: 0 / 424.9 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003402/0.128, allocations: 63.89 kB / 424.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002129/0.1282, allocations: 60.8 kB / 425 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.1282, allocations: 8 kB / 425 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000518/0.1287, allocations: 0.6149 MB / 425.6 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1288, allocations: 4.062 kB / 425.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.1298, allocations: 0.516 MB / 426.1 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.1299, allocations: 112.8 kB / 426.2 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.052e-05/0.13, allocations: 8 kB / 426.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.1302, allocations: 23.98 kB / 426.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/0.1303, allocations: 15.97 kB / 426.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.1303, allocations: 8 kB / 426.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002706/0.1306, allocations: 235 kB / 426.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1306, allocations: 3.938 kB / 426.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004828/0.1311, allocations: 115.8 kB / 426.6 MB, free: 3.711 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.0002495/0.1314, allocations: 139.1 kB / 426.8 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000944/0.1323, allocations: 422.1 kB / 427.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1323, allocations: 0 / 427.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003877/0.1327, allocations: 149 kB / 427.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.1331, allocations: 41.36 kB / 427.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.1346, allocations: 0.9097 MB / 428.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.135, allocations: 0.795 MB / 429.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.361e-05/0.1351, allocations: 27.42 kB / 429.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1351, allocations: 0 / 429.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of Templates: time 0.177/0.3121, allocations: 5.42 MB / 434.5 MB, free: 21.43 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.58004103298299]