Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.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.001821/0.001821, allocations: 120.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.002114/0.002114, 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.443/1.443, allocations: 222.9 MB / 247 MB, free: 4.23 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 43.92 kB / 358.7 MB, free: 8.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1077, allocations: 49.44 MB / 408.1 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.00423/0.1119, allocations: 2.786 MB / 410.9 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.1134, allocations: 0.6349 MB / 411.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000196/0.1136, allocations: 4 kB / 411.5 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.1139, allocations: 47.5 kB / 411.6 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.1141, allocations: 91.17 kB / 411.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.1145, allocations: 83.89 kB / 411.8 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005805/0.1151, allocations: 382.5 kB / 412.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003046/0.1154, allocations: 118.9 kB / 412.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.1156, allocations: 147.5 kB / 412.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.1159, allocations: 171.3 kB / 412.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.31e-05/0.116, allocations: 32 kB / 412.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.821e-05/0.116, allocations: 36 kB / 412.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.765e-05/0.1161, allocations: 71.7 kB / 412.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.1163, allocations: 163.2 kB / 412.9 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004743/0.1168, allocations: 366.6 kB / 413.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.1168, allocations: 0 / 413.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1168, allocations: 3.938 kB / 413.2 MB, free: 1.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.1168, allocations: 0 / 413.2 MB, free: 1.77 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001529/0.1184, allocations: 0.6728 MB / 413.9 MB, free: 1.043 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.1184, allocations: 8.031 kB / 413.9 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.95e-05/0.1185, allocations: 36.75 kB / 413.9 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.119, allocations: 272.8 kB / 414.2 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/0.1191, allocations: 16.94 kB / 414.2 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.435e-05/0.1191, allocations: 28.31 kB / 414.3 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007134/0.1198, allocations: 307.6 kB / 414.6 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.1199, allocations: 4 kB / 414.6 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.1199, allocations: 11.98 kB / 414.6 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.1199, allocations: 8 kB / 414.6 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008407/0.1208, allocations: 245.6 kB / 414.8 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001825/0.1226, allocations: 1.093 MB / 415.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008542/0.1235, allocations: 218.6 kB / 416.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003367/0.1238, allocations: 88.78 kB / 416.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.1239, allocations: 3.938 kB / 416.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004762/0.1243, allocations: 161.9 kB / 416.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.1243, allocations: 0 / 416.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002298/0.1267, allocations: 0.515 MB / 416.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.516e-05/0.1268, allocations: 118.7 kB / 417 MB, free: 13.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/0.1271, allocations: 282.7 kB / 417.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.1272, allocations: 25.7 kB / 417.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.1273, allocations: 207.9 kB / 417.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.1274, allocations: 39.69 kB / 417.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.1275, allocations: 49.89 kB / 417.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.1277, allocations: 342.8 kB / 417.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003578/0.128, allocations: 96.16 kB / 418 MB, free: 12.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000432/0.1285, allocations: 198.1 kB / 418.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000746/0.1292, allocations: 300 kB / 418.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.1292, allocations: 3.938 kB / 418.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001315/0.1306, allocations: 435.7 kB / 418.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.752e-05/0.1306, allocations: 29.7 kB / 419 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/0.1307, allocations: 4 kB / 419 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004349/0.1311, allocations: 76.83 kB / 419 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.1313, allocations: 51.91 kB / 419.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002949/0.1343, allocations: 1.719 MB / 420.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003959/0.1347, allocations: 55.73 kB / 420.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.1348, allocations: 15.98 kB / 420.9 MB, free: 9.531 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001972/0.135, allocations: 149.8 kB / 421 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.135, allocations: 27.8 kB / 421.1 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.688e-05/0.1351, allocations: 25.7 kB / 421.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1351, allocations: 4 kB / 421.1 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.1351, allocations: 0 / 421.1 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1351, allocations: 0 / 421.1 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003565/0.1355, allocations: 305.3 kB / 421.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1355, allocations: 0 / 421.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.1356, allocations: 19.97 kB / 421.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002795/0.1359, allocations: 68.81 kB / 421.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.1359, allocations: 7.922 kB / 421.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002488/0.1384, allocations: 1.7 MB / 423.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1384, allocations: 0 / 423.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.1396, allocations: 313.5 kB / 423.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.1397, allocations: 112.9 kB / 423.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.1398, allocations: 8 kB / 423.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000286/0.1401, allocations: 31.95 kB / 423.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.1402, allocations: 27.91 kB / 423.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.1402, allocations: 4 kB / 423.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002429/0.1405, allocations: 205.9 kB / 423.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1405, allocations: 0 / 423.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003801/0.1409, allocations: 79.89 kB / 423.9 MB, free: 6.223 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001637/0.141, allocations: 99.78 kB / 424 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.1422, allocations: 414.4 kB / 424.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1422, allocations: 0 / 424.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005249/0.1427, allocations: 230.6 kB / 424.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.143, allocations: 43.06 kB / 424.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.1441, allocations: 489.3 kB / 425.2 MB, free: 4.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.1445, allocations: 0.7518 MB / 425.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.387e-05/0.1446, allocations: 23.44 kB / 426 MB, free: 4.098 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1446, allocations: 4 kB / 426 MB, free: 4.094 MB / 350.1 MB Notification: Performance of Templates: time 0.205/0.3497, allocations: 4.422 MB / 430.4 MB, free: 22.96 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.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.566946460050531]