Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.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.001825/0.001825, 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.002145/0.002145, allocations: 216.4 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.495/1.495, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 51.92 kB / 379 MB, free: 2.559 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2298, allocations: 53.37 MB / 432.4 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004242/0.234, allocations: 2.629 MB / 435 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.2352, allocations: 0.6389 MB / 435.6 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.2353, allocations: 7.938 kB / 435.6 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.2355, allocations: 51.5 kB / 435.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.2357, allocations: 103.2 kB / 435.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.236, allocations: 79.84 kB / 435.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004863/0.2365, allocations: 378.5 kB / 436.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.2367, allocations: 91.34 kB / 436.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.2369, allocations: 147.4 kB / 436.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.2371, allocations: 171.3 kB / 436.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.331e-05/0.2372, allocations: 36 kB / 436.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.363e-05/0.2372, allocations: 32 kB / 436.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.444e-05/0.2373, allocations: 67.77 kB / 436.8 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.2375, allocations: 143.4 kB / 436.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004533/0.2379, allocations: 384.2 kB / 437.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2379, allocations: 0 / 437.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2379, allocations: 0 / 437.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.2379, allocations: 0 / 437.3 MB, free: 1.801 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.001371/0.2393, allocations: 0.5936 MB / 437.9 MB, free: 1.172 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.2393, allocations: 8.031 kB / 437.9 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.88e-05/0.2394, allocations: 36.7 kB / 437.9 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004189/0.2398, allocations: 218.9 kB / 438.1 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.2399, allocations: 20.88 kB / 438.1 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.292e-05/0.2399, allocations: 24.38 kB / 438.2 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007656/0.2407, allocations: 358.3 kB / 438.5 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.2407, allocations: 4 kB / 438.5 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.2407, allocations: 8 kB / 438.5 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.2408, allocations: 11.98 kB / 438.5 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008251/0.2416, allocations: 249.5 kB / 438.8 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.2433, allocations: 0.9307 MB / 439.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008205/0.2441, allocations: 202.5 kB / 439.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/0.2444, allocations: 84.78 kB / 440 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.2445, allocations: 4 kB / 440 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005136/0.245, allocations: 221.2 kB / 440.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.492e-06/0.245, allocations: 4 kB / 440.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002144/0.2471, allocations: 437.9 kB / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.994e-05/0.2472, allocations: 110.8 kB / 440.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.2475, allocations: 261 kB / 441 MB, free: 13.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.2475, allocations: 29.69 kB / 441 MB, free: 13.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.2477, allocations: 207.9 kB / 441.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.2477, allocations: 43.67 kB / 441.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.2478, allocations: 57.89 kB / 441.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.248, allocations: 330.8 kB / 441.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/0.2484, allocations: 125.8 kB / 441.8 MB, free: 13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004791/0.2488, allocations: 287.1 kB / 442.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007276/0.2496, allocations: 301.4 kB / 442.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.2496, allocations: 4 kB / 442.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001276/0.2509, allocations: 449.5 kB / 442.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.001e-05/0.2509, allocations: 37.69 kB / 442.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.2509, allocations: 0 / 442.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003492/0.2513, allocations: 76.91 kB / 442.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.2515, allocations: 51.83 kB / 443 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002509/0.254, allocations: 1.578 MB / 444.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/0.2543, allocations: 55.73 kB / 444.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.2544, allocations: 19.94 kB / 444.6 MB, free: 9.91 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.0001526/0.2545, allocations: 140.7 kB / 444.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.2546, allocations: 27.92 kB / 444.8 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.166e-05/0.2546, allocations: 21.7 kB / 444.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.2546, allocations: 4 kB / 444.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.2546, allocations: 3.938 kB / 444.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2546, allocations: 0 / 444.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.2549, allocations: 205.1 kB / 445 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2549, allocations: 3.938 kB / 445 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.255, allocations: 19.97 kB / 445 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002669/0.2553, allocations: 64.81 kB / 445.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.2553, allocations: 11.98 kB / 445.1 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002285/0.2576, allocations: 1.566 MB / 446.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2576, allocations: 4.031 kB / 446.7 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.2586, allocations: 305.5 kB / 447 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.145e-05/0.2587, allocations: 39.77 kB / 447 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.2587, allocations: 4 kB / 447 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.259, allocations: 27.95 kB / 447.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.753e-05/0.2591, allocations: 27.97 kB / 447.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.2591, allocations: 4 kB / 447.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001846/0.2593, allocations: 184.5 kB / 447.3 MB, free: 7.105 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2593, allocations: 4 kB / 447.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003602/0.2596, allocations: 79.84 kB / 447.3 MB, free: 7.023 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.000113/0.2598, allocations: 103.2 kB / 447.4 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.2608, allocations: 435.4 kB / 447.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2608, allocations: 0 / 447.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004781/0.2613, allocations: 223.3 kB / 448.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.2615, allocations: 36.42 kB / 448.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.2626, allocations: 468.4 kB / 448.6 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.2627, allocations: 142.9 kB / 448.7 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.582e-05/0.2628, allocations: 26.28 kB / 448.7 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.717e-05/0.2628, allocations: 15.44 kB / 448.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2628, allocations: 4 kB / 448.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of Templates: time 0.008815/0.2717, allocations: 4.421 MB / 453.2 MB, free: 1.156 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.482700980006484]