Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.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.00108/0.00108, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001551/0.00263, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001005/0.001005, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009719/0.001977, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9937/0.9937, allocations: 173.4 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1027/1.096, allocations: 52.5 MB / 238.3 MB, free: 4.434 MB / 234.7 MB " [Timeout remaining time 179] 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 239.6 MB, free: 3.172 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032e-05/1.141e-05, allocations: 2.312 kB / 239.6 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.002525/0.002536, allocations: 2.826 MB / 242.4 MB, free: 340 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008681/0.003404, allocations: 0.6581 MB / 243 MB, free: 15.67 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.003505, allocations: 7.938 kB / 243.1 MB, free: 15.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.084e-05/0.003586, allocations: 43.56 kB / 243.1 MB, free: 15.62 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.003729, allocations: 99.12 kB / 243.2 MB, free: 15.52 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.00389, allocations: 91.81 kB / 243.3 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003161/0.004207, allocations: 386.3 kB / 243.7 MB, free: 15.05 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.004357, allocations: 93.89 kB / 243.8 MB, free: 14.96 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.004596, allocations: 252.1 kB / 244 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.004744, allocations: 127.6 kB / 244.1 MB, free: 14.59 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.35e-05/0.004788, allocations: 32 kB / 244.2 MB, free: 14.55 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.412e-05/0.004822, allocations: 40 kB / 244.2 MB, free: 14.52 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.084e-05/0.004863, allocations: 51.81 kB / 244.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.969e-05/0.004943, allocations: 91.88 kB / 244.3 MB, free: 14.38 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.005158, allocations: 223.2 kB / 244.6 MB, free: 14.16 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.26e-05/0.005171, allocations: 3.984 kB / 244.6 MB, free: 14.15 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005171, allocations: 0 / 244.6 MB, free: 14.15 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.005183, allocations: 3.938 kB / 244.6 MB, free: 14.15 MB / 250.7 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.0006912/0.005875, allocations: 0.6036 MB / 245.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.559e-05/0.0059, allocations: 8.031 kB / 245.2 MB, free: 13.5 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.446e-05/0.005955, allocations: 44.89 kB / 245.2 MB, free: 13.46 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.00613, allocations: 174.3 kB / 245.4 MB, free: 13.26 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.006147, allocations: 20.88 kB / 245.4 MB, free: 13.24 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.006169, allocations: 24.38 kB / 245.4 MB, free: 13.21 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.00644, allocations: 279.3 kB / 245.7 MB, free: 12.91 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.006449, allocations: 4.188 kB / 245.7 MB, free: 12.91 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.006465, allocations: 12.38 kB / 245.7 MB, free: 12.9 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.006472, allocations: 7.938 kB / 245.7 MB, free: 12.89 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.006575, allocations: 69.47 kB / 245.8 MB, free: 12.82 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007875/0.007362, allocations: 0.8013 MB / 246.6 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.007508, allocations: 82.52 kB / 246.7 MB, free: 11.87 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.897e-05/0.007546, allocations: 28.84 kB / 246.7 MB, free: 11.84 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.00757, allocations: 0 / 246.7 MB, free: 11.84 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.00773, allocations: 161.2 kB / 246.9 MB, free: 11.65 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.007731, allocations: 4 kB / 246.9 MB, free: 11.64 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004796/0.008211, allocations: 210.2 kB / 247.1 MB, free: 11.43 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.00824, allocations: 51.41 kB / 247.1 MB, free: 11.37 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.008368, allocations: 240.9 kB / 247.4 MB, free: 11.12 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.008387, allocations: 37.64 kB / 247.4 MB, free: 11.07 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.34e-05/0.008461, allocations: 187.9 kB / 247.6 MB, free: 10.89 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.008486, allocations: 43.67 kB / 247.6 MB, free: 10.84 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.424e-05/0.00855, allocations: 57.86 kB / 247.7 MB, free: 10.78 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.078e-05/0.008631, allocations: 330.8 kB / 248 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.47e-05/0.008676, allocations: 49.92 kB / 248 MB, free: 10.39 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.00878, allocations: 215.3 kB / 248.3 MB, free: 10.11 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.008912, allocations: 193.4 kB / 248.4 MB, free: 9.875 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.008914, allocations: 0 / 248.4 MB, free: 9.875 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002572/0.009171, allocations: 265.6 kB / 248.7 MB, free: 9.594 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.009198, allocations: 33.69 kB / 248.7 MB, free: 9.555 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.009205, allocations: 4 kB / 248.7 MB, free: 9.551 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002035/0.009408, allocations: 77.02 kB / 248.8 MB, free: 9.473 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.779e-05/0.009506, allocations: 47.91 kB / 248.9 MB, free: 9.426 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008329/0.01034, allocations: 1.315 MB / 250.2 MB, free: 8.02 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.01047, allocations: 39.83 kB / 250.2 MB, free: 7.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.01048, allocations: 16.02 kB / 250.2 MB, free: 7.965 MB / 250.7 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 8.733e-05/0.01057, allocations: 133.1 kB / 250.4 MB, free: 7.828 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.01059, allocations: 11.98 kB / 250.4 MB, free: 7.816 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.01061, allocations: 29.77 kB / 250.4 MB, free: 7.789 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01061, allocations: 3.938 kB / 250.4 MB, free: 7.785 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.01061, allocations: 192 / 250.4 MB, free: 7.785 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.01062, allocations: 0 / 250.4 MB, free: 7.785 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.01072, allocations: 145.7 kB / 250.6 MB, free: 7.625 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01072, allocations: 0 / 250.6 MB, free: 7.625 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.01076, allocations: 23.92 kB / 250.6 MB, free: 7.602 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/0.0108, allocations: 23.8 kB / 250.6 MB, free: 7.578 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001456/0.01095, allocations: 64.8 kB / 250.7 MB, free: 7.512 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.01095, allocations: 0 / 250.7 MB, free: 7.512 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007153/0.01167, allocations: 1.288 MB / 252 MB, free: 6.141 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.01167, allocations: 0 / 252 MB, free: 6.141 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.01186, allocations: 157.7 kB / 252.1 MB, free: 5.965 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.01188, allocations: 4 kB / 252.1 MB, free: 5.961 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.177e-05/0.01195, allocations: 19.98 kB / 252.1 MB, free: 5.941 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.01201, allocations: 19.95 kB / 252.1 MB, free: 5.922 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.01201, allocations: 8.031 kB / 252.2 MB, free: 5.914 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.209e-05/0.01208, allocations: 78.78 kB / 252.2 MB, free: 5.836 MB / 250.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01208, allocations: 0 / 252.2 MB, free: 5.836 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002047/0.01228, allocations: 87.78 kB / 252.3 MB, free: 5.75 MB / 250.7 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 7.473e-05/0.01235, allocations: 80.42 kB / 252.4 MB, free: 5.66 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000322/0.01268, allocations: 321 kB / 252.7 MB, free: 5.312 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.01269, allocations: 4 kB / 252.7 MB, free: 5.309 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.01281, allocations: 171.3 kB / 252.9 MB, free: 5.125 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.01295, allocations: 53.25 kB / 252.9 MB, free: 5.074 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.01448, allocations: 457.2 kB / 253.4 MB, free: 4.598 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.616e-05/0.01452, allocations: 84.31 kB / 253.5 MB, free: 4.496 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.517e-05/0.01459, allocations: 22.3 kB / 253.5 MB, free: 4.477 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.0147, allocations: 91.34 kB / 253.6 MB, free: 4.387 MB / 250.7 MB Notification: Performance of SimCode: time 7.01e-07/0.0147, allocations: 0 / 253.6 MB, free: 4.387 MB / 250.7 MB Notification: Performance of Templates: time 0.006194/0.02089, allocations: 4.42 MB / 258 MB, free: 36 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.63632951118052]