Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001723/0.001723, allocations: 112.9 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00223/0.00223, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 230.2 MB / 255.2 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 63.89 kB / 374.6 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09295/0.09481, allocations: 53.32 MB / 427.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004491/0.0993, allocations: 2.964 MB / 430.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.1009, allocations: 0.7635 MB / 431.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.101, allocations: 7.938 kB / 431.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.1012, allocations: 55.5 kB / 431.7 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.1014, allocations: 95.19 kB / 431.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.1017, allocations: 123.8 kB / 431.9 MB, free: 472 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004676/0.1022, allocations: 418.4 kB / 432.3 MB, free: 52 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.1024, allocations: 91.27 kB / 432.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.1026, allocations: 155.4 kB / 432.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.1029, allocations: 175.3 kB / 432.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.554e-05/0.1029, allocations: 40 kB / 432.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.802e-05/0.103, allocations: 43.94 kB / 432.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.209e-05/0.1031, allocations: 75.75 kB / 432.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001928/0.1033, allocations: 175.2 kB / 433 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005836/0.1039, allocations: 454.3 kB / 433.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1039, allocations: 0 / 433.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1039, allocations: 3.938 kB / 433.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.1039, allocations: 0 / 433.5 MB, free: 14.85 MB / 366.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.001435/0.1053, allocations: 0.6884 MB / 434.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1054, allocations: 12.03 kB / 434.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.298e-05/0.1054, allocations: 36.7 kB / 434.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.1059, allocations: 295.8 kB / 434.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.1059, allocations: 16.94 kB / 434.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/0.106, allocations: 28.38 kB / 434.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007701/0.1067, allocations: 331.9 kB / 434.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1067, allocations: 0 / 434.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.64e-05/0.1068, allocations: 12 kB / 434.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.1068, allocations: 8 kB / 434.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008586/0.1077, allocations: 278.1 kB / 435.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.1097, allocations: 1.151 MB / 436.3 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009158/0.1106, allocations: 246.5 kB / 436.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003793/0.111, allocations: 96.78 kB / 436.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.111, allocations: 4 kB / 436.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005113/0.1115, allocations: 177.9 kB / 436.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.1115, allocations: 0 / 436.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.002524/0.1141, allocations: 0.6668 MB / 437.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.99e-05/0.1142, allocations: 114.8 kB / 437.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003534/0.1145, allocations: 290.6 kB / 437.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.1145, allocations: 25.7 kB / 437.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.1147, allocations: 208 kB / 438.1 MB, free: 9.926 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/0.1147, allocations: 43.69 kB / 438.2 MB, free: 9.883 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.1149, allocations: 57.89 kB / 438.2 MB, free: 9.816 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.115, allocations: 330.8 kB / 438.5 MB, free: 9.484 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003837/0.1154, allocations: 104.2 kB / 438.6 MB, free: 9.383 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004535/0.1159, allocations: 209.3 kB / 438.8 MB, free: 9.133 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007915/0.1166, allocations: 324.6 kB / 439.2 MB, free: 8.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1166, allocations: 0 / 439.2 MB, free: 8.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001358/0.118, allocations: 490 kB / 439.6 MB, free: 8.277 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.089e-05/0.118, allocations: 33.7 kB / 439.7 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1181, allocations: 4 kB / 439.7 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003899/0.1184, allocations: 84.86 kB / 439.8 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.1187, allocations: 47.91 kB / 439.8 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003143/0.1218, allocations: 2.072 MB / 441.9 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/0.1222, allocations: 55.97 kB / 441.9 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.1222, allocations: 16.05 kB / 441.9 MB, free: 5.82 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.0001879/0.1224, allocations: 157.7 kB / 442.1 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.1224, allocations: 23.86 kB / 442.1 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.97e-05/0.1225, allocations: 25.83 kB / 442.1 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1225, allocations: 4 kB / 442.2 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.1225, allocations: 0 / 442.2 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1225, allocations: 0 / 442.2 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.1229, allocations: 321.4 kB / 442.5 MB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.1229, allocations: 12.11 kB / 442.5 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.123, allocations: 23.92 kB / 442.5 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003028/0.1233, allocations: 76.8 kB / 442.6 MB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.1233, allocations: 8 kB / 442.6 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002703/0.126, allocations: 1.982 MB / 444.6 MB, free: 2.988 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.126, allocations: 0 / 444.6 MB, free: 2.988 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.1272, allocations: 376.1 kB / 444.9 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.848e-05/0.1273, allocations: 100.9 kB / 445 MB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.1273, allocations: 4 kB / 445 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.1276, allocations: 39.89 kB / 445.1 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-05/0.1276, allocations: 19.97 kB / 445.1 MB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.1277, allocations: 0 / 445.1 MB, free: 2.422 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002293/0.1279, allocations: 210 kB / 445.3 MB, free: 2.219 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1279, allocations: 0 / 445.3 MB, free: 2.219 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004588/0.1283, allocations: 79.83 kB / 445.4 MB, free: 2.141 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.0001569/0.1285, allocations: 107.2 kB / 445.5 MB, free: 2.023 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.1299, allocations: 493.8 kB / 446 MB, free: 1.516 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1299, allocations: 0 / 446 MB, free: 1.516 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005447/0.1305, allocations: 231.1 kB / 446.2 MB, free: 1.277 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.1308, allocations: 57.62 kB / 446.2 MB, free: 1.223 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00333/0.1342, allocations: 0.9655 MB / 447.2 MB, free: 232 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1815/0.3157, allocations: 0.7516 MB / 448 MB, free: 24.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.3158, allocations: 22.06 kB / 448 MB, free: 24.09 MB / 366.1 MB Notification: Performance of SimCode: time 2.054e-06/0.3158, allocations: 0 / 448 MB, free: 24.09 MB / 366.1 MB Notification: Performance of Templates: time 0.008417/0.3242, allocations: 4.796 MB / 452.8 MB, free: 23.91 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.345328979892656]