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.001249/0.001249, allocations: 123.5 kB / 18.46 MB, free: 4.613 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.001287/0.001287, allocations: 188.3 kB / 21.39 MB, free: 1.688 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.385/1.385, allocations: 225.6 MB / 249.8 MB, free: 3.477 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.001467/0.001467, allocations: 51.91 kB / 366.8 MB, free: 408 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09972/0.1012, allocations: 52.14 MB / 419 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.005091/0.1063, allocations: 3.233 MB / 422.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.1079, allocations: 0.9663 MB / 423.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.108, allocations: 4 kB / 423.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001752/0.1082, allocations: 59.36 kB / 423.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.1086, allocations: 131 kB / 423.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.1089, allocations: 143.6 kB / 423.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005069/0.1094, allocations: 486 kB / 424 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002185/0.1096, allocations: 95.16 kB / 424.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002468/0.1099, allocations: 187.3 kB / 424.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002882/0.1101, allocations: 219 kB / 424.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.369e-05/0.1102, allocations: 40 kB / 424.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.1104, allocations: 75.97 kB / 424.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.784e-05/0.1105, allocations: 87.69 kB / 424.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.1107, allocations: 218.9 kB / 424.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006131/0.1113, allocations: 0.4978 MB / 425.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1113, allocations: 0 / 425.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1113, allocations: 0 / 425.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1113, allocations: 0 / 425.4 MB, free: 5.727 MB / 350.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.001441/0.1128, allocations: 0.7555 MB / 426.1 MB, free: 4.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1128, allocations: 8.031 kB / 426.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.85e-05/0.1129, allocations: 48.66 kB / 426.2 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004851/0.1134, allocations: 303.6 kB / 426.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/0.1134, allocations: 25.03 kB / 426.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.872e-05/0.1135, allocations: 36.38 kB / 426.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006952/0.1142, allocations: 349.3 kB / 426.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.1142, allocations: 7.984 kB / 426.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/0.1142, allocations: 11.94 kB / 426.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.1142, allocations: 8 kB / 426.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005295/0.1148, allocations: 238.5 kB / 427.1 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/0.1168, allocations: 1.17 MB / 428.3 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006834/0.1175, allocations: 267.5 kB / 428.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005217/0.118, allocations: 193.9 kB / 428.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/0.119, allocations: 1.117 MB / 429.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.1191, allocations: 38.8 kB / 429.9 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.724e-06/0.1191, allocations: 0 / 429.9 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001442/0.1205, allocations: 0.5289 MB / 430.4 MB, free: 176 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.183e-05/0.1206, allocations: 89.05 kB / 430.5 MB, free: 68 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003967/0.121, allocations: 324.7 kB / 430.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.121, allocations: 33.7 kB / 430.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.1212, allocations: 212.4 kB / 431.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.437e-05/0.1213, allocations: 107.1 kB / 431.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.1214, allocations: 74.02 kB / 431.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002098/0.1216, allocations: 350.8 kB / 431.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.1219, allocations: 104.7 kB / 431.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.1222, allocations: 189.8 kB / 431.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005497/0.1227, allocations: 287.7 kB / 432.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1227, allocations: 0 / 432.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008594/0.1236, allocations: 429.6 kB / 432.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1236, allocations: 8 kB / 432.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1236, allocations: 0 / 432.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003047/0.1239, allocations: 80.69 kB / 432.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.1243, allocations: 75.89 kB / 432.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/0.1264, allocations: 1.951 MB / 434.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.1267, allocations: 43.66 kB / 434.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.1267, allocations: 19.98 kB / 434.8 MB, free: 11.57 MB / 366.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.0001875/0.1269, allocations: 153.8 kB / 434.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.054e-05/0.127, allocations: 39.77 kB / 435 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000747/0.1277, allocations: 326.2 kB / 435.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.1277, allocations: 8 kB / 435.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1277, allocations: 3.938 kB / 435.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1277, allocations: 4 kB / 435.3 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/0.1282, allocations: 401.2 kB / 435.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1282, allocations: 0 / 435.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003326/0.1286, allocations: 47.97 kB / 435.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002114/0.1288, allocations: 60.81 kB / 435.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.1288, allocations: 8 kB / 435.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004886/0.1293, allocations: 0.6108 MB / 436.4 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1293, allocations: 0 / 436.4 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.1303, allocations: 0.5328 MB / 436.9 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.867e-05/0.1304, allocations: 108.8 kB / 437 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/0.1305, allocations: 8 kB / 437.1 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.1307, allocations: 19.98 kB / 437.1 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.815e-05/0.1308, allocations: 19.97 kB / 437.1 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.1308, allocations: 8.188 kB / 437.1 MB, free: 9.102 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002774/0.1311, allocations: 235 kB / 437.3 MB, free: 8.875 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1311, allocations: 7.938 kB / 437.3 MB, free: 8.867 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004661/0.1316, allocations: 111.8 kB / 437.4 MB, free: 8.758 MB / 366.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.0002461/0.1318, allocations: 131 kB / 437.6 MB, free: 8.617 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009028/0.1327, allocations: 414.2 kB / 438 MB, free: 8.199 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1327, allocations: 0 / 438 MB, free: 8.199 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003649/0.1331, allocations: 127.9 kB / 438.1 MB, free: 8.074 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.1334, allocations: 37.42 kB / 438.1 MB, free: 8.039 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.135, allocations: 0.9059 MB / 439 MB, free: 7.098 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/0.1354, allocations: 0.7951 MB / 439.8 MB, free: 6.277 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.772e-05/0.1355, allocations: 27.42 kB / 439.9 MB, free: 6.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1355, allocations: 0 / 439.9 MB, free: 6.25 MB / 366.1 MB Notification: Performance of Templates: time 0.008554/0.1441, allocations: 5.462 MB / 445.3 MB, free: 0.7969 MB / 366.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.09482930903323]