Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.006079/0.006079, allocations: 105.4 kB / 21.98 MB, free: 5.223 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.001716/0.001716, allocations: 214.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.447/1.447, allocations: 230.6 MB / 259 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.89 kB / 379.8 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2604, allocations: 53.35 MB / 433.2 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004432/0.2649, allocations: 2.992 MB / 436.2 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.2663, allocations: 0.7635 MB / 436.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.2665, allocations: 11.94 kB / 437 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.2666, allocations: 51.5 kB / 437 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.2668, allocations: 99.19 kB / 437.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.2672, allocations: 123.8 kB / 437.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004683/0.2676, allocations: 414.4 kB / 437.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.2678, allocations: 95.66 kB / 437.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.2681, allocations: 159.4 kB / 437.9 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.2683, allocations: 171.2 kB / 438 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.295e-05/0.2684, allocations: 40 kB / 438.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.64e-05/0.2685, allocations: 44 kB / 438.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.2686, allocations: 87.67 kB / 438.2 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002132/0.2688, allocations: 175.2 kB / 438.4 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005806/0.2694, allocations: 451.5 kB / 438.8 MB, free: 1.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2694, allocations: 0 / 438.8 MB, free: 1.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2694, allocations: 0 / 438.8 MB, free: 1.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.2694, allocations: 0 / 438.8 MB, free: 1.281 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001362/0.2707, allocations: 0.6091 MB / 439.4 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.2708, allocations: 8.031 kB / 439.4 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.95e-05/0.2709, allocations: 40.7 kB / 439.5 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004692/0.2713, allocations: 257.8 kB / 439.7 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.2714, allocations: 20.88 kB / 439.8 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.2714, allocations: 28.36 kB / 439.8 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007731/0.2722, allocations: 323.1 kB / 440.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.2722, allocations: 3.984 kB / 440.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.2722, allocations: 12 kB / 440.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.495e-06/0.2722, allocations: 8 kB / 440.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008132/0.2731, allocations: 285.7 kB / 440.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.275, allocations: 1.104 MB / 441.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000841/0.2759, allocations: 234.6 kB / 441.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003414/0.2762, allocations: 104.8 kB / 441.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.2762, allocations: 4 kB / 441.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004899/0.2767, allocations: 185.3 kB / 442 MB, free: 13.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.2767, allocations: 0 / 442 MB, free: 13.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002352/0.2791, allocations: 0.5916 MB / 442.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.459e-05/0.2792, allocations: 106.8 kB / 442.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/0.2795, allocations: 285.8 kB / 443 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.2796, allocations: 33.7 kB / 443 MB, free: 12.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.2797, allocations: 196 kB / 443.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/0.2798, allocations: 47.83 kB / 443.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.2799, allocations: 53.89 kB / 443.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.28, allocations: 338.8 kB / 443.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003534/0.2804, allocations: 112.1 kB / 443.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004297/0.2808, allocations: 226 kB / 444 MB, free: 11.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007006/0.2815, allocations: 312.6 kB / 444.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2815, allocations: 0 / 444.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001253/0.2828, allocations: 478.8 kB / 444.7 MB, free: 11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.883e-05/0.2828, allocations: 41.69 kB / 444.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.2829, allocations: 8.062 kB / 444.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003722/0.2832, allocations: 76.81 kB / 444.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.2834, allocations: 55.89 kB / 444.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003046/0.2865, allocations: 1.964 MB / 446.9 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003459/0.2868, allocations: 55.8 kB / 446.9 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.2869, allocations: 8 kB / 447 MB, free: 8.672 MB / 350.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.00019/0.2871, allocations: 157.7 kB / 447.1 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.2871, allocations: 23.86 kB / 447.1 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.32e-05/0.2871, allocations: 29.83 kB / 447.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2872, allocations: 4 kB / 447.2 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.2872, allocations: 128 / 447.2 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.2872, allocations: 4 kB / 447.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003406/0.2875, allocations: 304.4 kB / 447.5 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2875, allocations: 0 / 447.5 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.2876, allocations: 19.97 kB / 447.5 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002903/0.2879, allocations: 84.8 kB / 447.6 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.2879, allocations: 4 kB / 447.6 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002607/0.2906, allocations: 1.867 MB / 449.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.2906, allocations: 4.031 kB / 449.4 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.2916, allocations: 369.5 kB / 449.8 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/0.2917, allocations: 23.86 kB / 449.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/0.2917, allocations: 11.92 kB / 449.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.2919, allocations: 36.03 kB / 449.9 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.074e-05/0.292, allocations: 23.97 kB / 449.9 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.292, allocations: 4 kB / 449.9 MB, free: 5.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002217/0.2923, allocations: 201.2 kB / 450.1 MB, free: 5.336 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2923, allocations: 0 / 450.1 MB, free: 5.336 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004426/0.2927, allocations: 83.84 kB / 450.2 MB, free: 5.254 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 (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.0001386/0.2928, allocations: 107.2 kB / 450.3 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.2942, allocations: 486.3 kB / 450.8 MB, free: 4.637 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.2942, allocations: 4.125 kB / 450.8 MB, free: 4.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005128/0.2947, allocations: 246 kB / 451 MB, free: 4.383 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.2951, allocations: 54.45 kB / 451.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00306/0.2981, allocations: 0.9624 MB / 452 MB, free: 3.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.2985, allocations: 0.7558 MB / 452.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.369e-05/0.2986, allocations: 19.44 kB / 452.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of SimCode: time 7.91e-07/0.2986, allocations: 0 / 452.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of Templates: time 0.007714/0.3063, allocations: 4.806 MB / 457.6 MB, free: 13.76 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.555612500058487]