Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 214.8 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 258.2 MB, free: 7.742 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 43.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2601, allocations: 53.36 MB / 432.4 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004227/0.2643, allocations: 2.77 MB / 435.1 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.2657, allocations: 0.7207 MB / 435.8 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.2659, allocations: 4 kB / 435.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.2661, allocations: 51.5 kB / 435.9 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.2663, allocations: 107.2 kB / 436 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.2666, allocations: 119.8 kB / 436.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004676/0.267, allocations: 422.4 kB / 436.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.2672, allocations: 98.61 kB / 436.6 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.2674, allocations: 155.5 kB / 436.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.2676, allocations: 171.2 kB / 437 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.816e-05/0.2677, allocations: 40 kB / 437 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.975e-05/0.2678, allocations: 40 kB / 437 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.064e-05/0.2679, allocations: 79.7 kB / 437.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.268, allocations: 155.3 kB / 437.3 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005428/0.2686, allocations: 454 kB / 437.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2686, allocations: 0 / 437.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2686, allocations: 0 / 437.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.2686, allocations: 0 / 437.7 MB, free: 1.348 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.001388/0.27, allocations: 0.6092 MB / 438.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.27, allocations: 8.031 kB / 438.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.033e-05/0.2701, allocations: 36.7 kB / 438.4 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.2706, allocations: 249.8 kB / 438.6 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.2706, allocations: 20.88 kB / 438.6 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.006e-05/0.2707, allocations: 24.38 kB / 438.6 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008156/0.2715, allocations: 382.5 kB / 439 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.2715, allocations: 3.984 kB / 439 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.2715, allocations: 8 kB / 439 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.2715, allocations: 8 kB / 439 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008543/0.2724, allocations: 289.8 kB / 439.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.2743, allocations: 0.9797 MB / 440.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008914/0.2752, allocations: 238.6 kB / 440.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003529/0.2755, allocations: 105 kB / 440.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.2755, allocations: 3.938 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005296/0.2761, allocations: 237.2 kB / 440.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.2761, allocations: 0 / 440.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002455/0.2785, allocations: 0.5838 MB / 441.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.203e-05/0.2786, allocations: 110.8 kB / 441.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.2789, allocations: 273.8 kB / 441.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.279, allocations: 33.69 kB / 441.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.2791, allocations: 204 kB / 442.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.2792, allocations: 35.69 kB / 442.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.2793, allocations: 57.89 kB / 442.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.2794, allocations: 334.8 kB / 442.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003903/0.2798, allocations: 138.1 kB / 442.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004893/0.2803, allocations: 285.9 kB / 442.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007532/0.2811, allocations: 307.8 kB / 443.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.2811, allocations: 0 / 443.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00137/0.2824, allocations: 0.4922 MB / 443.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.756e-05/0.2825, allocations: 37.7 kB / 443.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.2825, allocations: 7.984 kB / 443.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004123/0.2829, allocations: 80.88 kB / 443.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.2831, allocations: 47.89 kB / 443.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002848/0.286, allocations: 1.867 MB / 445.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003506/0.2863, allocations: 47.8 kB / 445.8 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.2864, allocations: 12 kB / 445.8 MB, free: 8.758 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001842/0.2865, allocations: 157.8 kB / 445.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.2866, allocations: 27.84 kB / 446 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.498e-05/0.2866, allocations: 21.78 kB / 446 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2866, allocations: 0 / 446 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.2866, allocations: 4 kB / 446 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2866, allocations: 3.984 kB / 446 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.2869, allocations: 221.1 kB / 446.2 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2869, allocations: 0 / 446.2 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.2871, allocations: 19.98 kB / 446.2 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003157/0.2874, allocations: 88.73 kB / 446.3 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.2874, allocations: 0 / 446.3 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002667/0.2901, allocations: 1.671 MB / 448 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2901, allocations: 3.938 kB / 448 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.2913, allocations: 373 kB / 448.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/0.2913, allocations: 23.84 kB / 448.4 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.2914, allocations: 8 kB / 448.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.2916, allocations: 35.95 kB / 448.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.574e-05/0.2917, allocations: 19.97 kB / 448.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.2917, allocations: 0 / 448.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002056/0.2919, allocations: 197.2 kB / 448.6 MB, free: 5.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2919, allocations: 0 / 448.6 MB, free: 5.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003974/0.2923, allocations: 87.78 kB / 448.7 MB, free: 5.652 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.0001239/0.2925, allocations: 103.2 kB / 448.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.2935, allocations: 450.3 kB / 449.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2935, allocations: 0 / 449.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005203/0.2941, allocations: 242.5 kB / 449.5 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.2944, allocations: 44.84 kB / 449.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.2955, allocations: 484.4 kB / 450 MB, free: 4.281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.2956, allocations: 154.8 kB / 450.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.2957, allocations: 22.3 kB / 450.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.191e-05/0.2958, allocations: 19.44 kB / 450.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2958, allocations: 7.938 kB / 450.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of Templates: time 0.009103/0.3049, allocations: 4.475 MB / 454.7 MB, free: 15.65 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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: 4.395285991995479]