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.0008124/0.0008124, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001072/0.001884, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006947/0.0006947, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008928/0.001588, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9469/0.9469, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07578/1.023, allocations: 53.64 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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 1.443e-06/1.443e-06, allocations: 0 / 244.5 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.209e-05/1.354e-05, allocations: 2.312 kB / 244.5 MB, free: 14.29 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.002625/0.002638, allocations: 2.837 MB / 247.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008284/0.003467, allocations: 0.6968 MB / 248.1 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.003568, allocations: 8 kB / 248.1 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.159e-05/0.00365, allocations: 47.56 kB / 248.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.003778, allocations: 95.14 kB / 248.2 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.00393, allocations: 87.81 kB / 248.3 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003488/0.004279, allocations: 394.3 kB / 248.7 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.004432, allocations: 89.91 kB / 248.8 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002347/0.004667, allocations: 255.9 kB / 249 MB, free: 9.77 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.0048, allocations: 127.6 kB / 249.2 MB, free: 9.645 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.912e-05/0.004839, allocations: 32 kB / 249.2 MB, free: 9.613 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.571e-05/0.004874, allocations: 40 kB / 249.2 MB, free: 9.574 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.071e-05/0.004915, allocations: 51.81 kB / 249.3 MB, free: 9.523 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.568e-05/0.004991, allocations: 95.81 kB / 249.4 MB, free: 9.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.005219, allocations: 227.1 kB / 249.6 MB, free: 9.207 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.253e-05/0.005232, allocations: 0 / 249.6 MB, free: 9.207 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005233, allocations: 0 / 249.6 MB, free: 9.207 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.005247, allocations: 0 / 249.6 MB, free: 9.207 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.0007239/0.005971, allocations: 0.5959 MB / 250.2 MB, free: 8.578 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.006004, allocations: 15.98 kB / 250.2 MB, free: 8.562 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.972e-05/0.006074, allocations: 44.89 kB / 250.3 MB, free: 8.52 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.006291, allocations: 182.2 kB / 250.4 MB, free: 8.312 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.006307, allocations: 12.88 kB / 250.4 MB, free: 8.301 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.006332, allocations: 24.38 kB / 250.5 MB, free: 8.277 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.006637, allocations: 291.3 kB / 250.8 MB, free: 7.965 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.006647, allocations: 8.109 kB / 250.8 MB, free: 7.957 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.006664, allocations: 8.375 kB / 250.8 MB, free: 7.949 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.006672, allocations: 11.94 kB / 250.8 MB, free: 7.938 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.00678, allocations: 73.39 kB / 250.9 MB, free: 7.867 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007854/0.007565, allocations: 0.8014 MB / 251.7 MB, free: 7.008 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.007703, allocations: 78.48 kB / 251.7 MB, free: 6.922 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.301e-05/0.007736, allocations: 24.84 kB / 251.8 MB, free: 6.895 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.007756, allocations: 4 kB / 251.8 MB, free: 6.891 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/0.007971, allocations: 165.3 kB / 251.9 MB, free: 6.695 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.007972, allocations: 0 / 251.9 MB, free: 6.695 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004793/0.008452, allocations: 210.5 kB / 252.1 MB, free: 6.48 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.008483, allocations: 59.41 kB / 252.2 MB, free: 6.41 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.008617, allocations: 240.9 kB / 252.4 MB, free: 6.16 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.008633, allocations: 25.7 kB / 252.4 MB, free: 6.129 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.423e-05/0.008708, allocations: 195.9 kB / 252.6 MB, free: 5.93 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.00873, allocations: 39.67 kB / 252.7 MB, free: 5.891 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.008786, allocations: 53.92 kB / 252.7 MB, free: 5.828 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.908e-05/0.008865, allocations: 334.8 kB / 253.1 MB, free: 5.492 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.756e-05/0.008913, allocations: 53.92 kB / 253.1 MB, free: 5.434 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.009015, allocations: 207.2 kB / 253.3 MB, free: 5.164 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.009265, allocations: 193.5 kB / 253.5 MB, free: 4.926 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.009268, allocations: 0 / 253.5 MB, free: 4.926 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000258/0.009526, allocations: 265.2 kB / 253.8 MB, free: 4.648 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.009558, allocations: 40.67 kB / 253.8 MB, free: 4.605 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.009564, allocations: 4 kB / 253.8 MB, free: 4.602 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002148/0.009779, allocations: 65.17 kB / 253.9 MB, free: 4.535 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.009886, allocations: 51.92 kB / 253.9 MB, free: 4.484 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008802/0.01077, allocations: 1.316 MB / 255.2 MB, free: 3.082 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.0109, allocations: 47.8 kB / 255.3 MB, free: 3.035 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.01091, allocations: 15.94 kB / 255.3 MB, free: 3.02 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.237e-05/0.01099, allocations: 121.8 kB / 255.4 MB, free: 2.891 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.01101, allocations: 19.98 kB / 255.4 MB, free: 2.871 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/0.01104, allocations: 33.69 kB / 255.5 MB, free: 2.844 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01104, allocations: 7.875 kB / 255.5 MB, free: 2.836 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.01104, allocations: 0 / 255.5 MB, free: 2.836 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01105, allocations: 0 / 255.5 MB, free: 2.836 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.01115, allocations: 141.7 kB / 255.6 MB, free: 2.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01115, allocations: 0 / 255.6 MB, free: 2.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.74e-05/0.01119, allocations: 15.98 kB / 255.6 MB, free: 2.664 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.01123, allocations: 19.86 kB / 255.6 MB, free: 2.645 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001495/0.01137, allocations: 64.8 kB / 255.7 MB, free: 2.578 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.01138, allocations: 4 kB / 255.7 MB, free: 2.574 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006545/0.01204, allocations: 1.297 MB / 257 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01204, allocations: 0 / 257 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004286/0.01247, allocations: 149.8 kB / 257.2 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.01249, allocations: 8 kB / 257.2 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.479e-05/0.01256, allocations: 20.02 kB / 257.2 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.01261, allocations: 23.95 kB / 257.2 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.01262, allocations: 4 kB / 257.2 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.678e-05/0.01268, allocations: 78.78 kB / 257.3 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01268, allocations: 0 / 257.3 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002006/0.01288, allocations: 83.77 kB / 257.4 MB, free: 0.8086 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 9.05e-05/0.01297, allocations: 88.34 kB / 257.5 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002844/0.01325, allocations: 311.7 kB / 257.8 MB, free: 388 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/0.01326, allocations: 7.984 kB / 257.8 MB, free: 380 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.01337, allocations: 167.4 kB / 257.9 MB, free: 196 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.0135, allocations: 57.09 kB / 258 MB, free: 136 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.015, allocations: 453.2 kB / 258.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.209e-05/0.01504, allocations: 84.17 kB / 258.5 MB, free: 15.56 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.258e-05/0.01511, allocations: 30.27 kB / 258.5 MB, free: 15.53 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.01521, allocations: 99.34 kB / 258.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01521, allocations: 0 / 258.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of Templates: time 0.00563/0.02084, allocations: 4.428 MB / 263.1 MB, free: 11.07 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.5671980176120996]