Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.001604/0.001604, allocations: 120.8 kB / 18.46 MB, free: 4.449 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.00185/0.00185, allocations: 190.9 kB / 21.4 MB, free: 1.52 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.401/1.401, allocations: 225.6 MB / 249.8 MB, free: 3.602 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.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 51.92 kB / 366.8 MB, free: 312 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09432/0.09588, allocations: 52.13 MB / 419 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004713/0.1006, allocations: 2.947 MB / 421.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.1021, allocations: 0.7362 MB / 422.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002412/0.1023, allocations: 8 kB / 422.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.1025, allocations: 51.5 kB / 422.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002908/0.1028, allocations: 103.2 kB / 422.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.1031, allocations: 123.8 kB / 422.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005846/0.1037, allocations: 410.4 kB / 423.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002254/0.1039, allocations: 91.27 kB / 423.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002831/0.1042, allocations: 151.4 kB / 423.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000311/0.1045, allocations: 175.3 kB / 423.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.382e-05/0.1046, allocations: 40 kB / 423.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.14e-05/0.1047, allocations: 40 kB / 423.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.362e-05/0.1048, allocations: 79.69 kB / 423.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.105, allocations: 179.1 kB / 424.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005789/0.1056, allocations: 458.2 kB / 424.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1056, allocations: 4 kB / 424.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1056, allocations: 0 / 424.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.1056, allocations: 0 / 424.5 MB, free: 6.484 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00148/0.1071, allocations: 0.6806 MB / 425.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1072, allocations: 15.89 kB / 425.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.297e-05/0.1072, allocations: 32.75 kB / 425.3 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004676/0.1077, allocations: 307.7 kB / 425.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.1077, allocations: 20.94 kB / 425.6 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/0.1078, allocations: 24.38 kB / 425.6 MB, free: 5.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007636/0.1086, allocations: 328 kB / 425.9 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.1086, allocations: 3.938 kB / 425.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.496e-05/0.1086, allocations: 15.98 kB / 425.9 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.1086, allocations: 4 kB / 426 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008467/0.1095, allocations: 282.1 kB / 426.2 MB, free: 4.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002208/0.1117, allocations: 1.151 MB / 427.4 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009169/0.1126, allocations: 238.5 kB / 427.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003643/0.1129, allocations: 100.8 kB / 427.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.113, allocations: 4.219 kB / 427.7 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000513/0.1135, allocations: 181.8 kB / 427.9 MB, free: 2.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.134e-06/0.1135, allocations: 0 / 427.9 MB, free: 2.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002497/0.116, allocations: 0.6707 MB / 428.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.418e-05/0.1161, allocations: 106.8 kB / 428.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003598/0.1164, allocations: 286.6 kB / 428.9 MB, free: 1.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.1165, allocations: 29.7 kB / 429 MB, free: 1.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.1166, allocations: 204 kB / 429.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.26e-05/0.1167, allocations: 47.62 kB / 429.2 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.96e-05/0.1168, allocations: 45.94 kB / 429.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1169, allocations: 342.8 kB / 429.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003815/0.1173, allocations: 104.2 kB / 429.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004689/0.1178, allocations: 221.9 kB / 429.9 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007675/0.1186, allocations: 319.1 kB / 430.2 MB, free: 412 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1186, allocations: 4 kB / 430.2 MB, free: 408 kB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001353/0.1199, allocations: 483.6 kB / 430.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.258e-05/0.12, allocations: 33.7 kB / 430.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.12, allocations: 4 kB / 430.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003916/0.1204, allocations: 88.78 kB / 430.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.1206, allocations: 51.97 kB / 430.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003166/0.1238, allocations: 2.06 MB / 432.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003457/0.1241, allocations: 55.75 kB / 433 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.1241, allocations: 11.98 kB / 433 MB, free: 13.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (24): * Single equations (assignments): 22 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001784/0.1243, allocations: 157.7 kB / 433.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/0.1244, allocations: 31.75 kB / 433.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.161e-05/0.1244, allocations: 29.83 kB / 433.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1244, allocations: 0 / 433.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.1244, allocations: 0 / 433.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1244, allocations: 0 / 433.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.1247, allocations: 329.4 kB / 433.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1247, allocations: 0 / 433.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.1249, allocations: 19.98 kB / 433.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002842/0.1252, allocations: 84.83 kB / 433.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.1252, allocations: 7.938 kB / 433.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002617/0.1278, allocations: 1.99 MB / 435.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1278, allocations: 0 / 435.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.1289, allocations: 373.5 kB / 436 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.4e-05/0.129, allocations: 96.97 kB / 436.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.129, allocations: 8 kB / 436.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.1293, allocations: 35.89 kB / 436.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.167e-05/0.1293, allocations: 15.98 kB / 436.2 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.1294, allocations: 7.984 kB / 436.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002159/0.1296, allocations: 206 kB / 436.4 MB, free: 9.852 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1296, allocations: 0 / 436.4 MB, free: 9.852 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004071/0.13, allocations: 83.78 kB / 436.4 MB, free: 9.77 MB / 366.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 (9): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00013/0.1301, allocations: 107.2 kB / 436.6 MB, free: 9.652 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.1314, allocations: 493 kB / 437 MB, free: 9.148 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1314, allocations: 0 / 437 MB, free: 9.148 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005027/0.1319, allocations: 226.5 kB / 437.3 MB, free: 8.914 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.1322, allocations: 60.59 kB / 437.3 MB, free: 8.852 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/0.1353, allocations: 0.9635 MB / 438.3 MB, free: 7.859 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.1357, allocations: 0.7595 MB / 439 MB, free: 7.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.1358, allocations: 23.44 kB / 439.1 MB, free: 7.047 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1358, allocations: 0 / 439.1 MB, free: 7.047 MB / 366.1 MB Notification: Performance of Templates: time 0.007026/0.1428, allocations: 4.796 MB / 443.9 MB, free: 2.266 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.910551585955545]