Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001056/0.001056, allocations: 84.39 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001398/0.001398, allocations: 166.9 kB / 25.61 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.019/1.019, allocations: 158.6 MB / 187.5 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.976e-06/2.976e-06, allocations: 3.938 kB / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.132e-05/4.429e-05, allocations: 2.312 kB / 251.5 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.006348/0.006392, allocations: 2.72 MB / 254.2 MB, free: 4.496 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.008616, allocations: 0.6591 MB / 254.9 MB, free: 3.828 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004058/0.009021, allocations: 8 kB / 254.9 MB, free: 3.82 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002814/0.009303, allocations: 43.52 kB / 254.9 MB, free: 3.777 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004681/0.009771, allocations: 99.06 kB / 255 MB, free: 3.68 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005628/0.01033, allocations: 99.8 kB / 255.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006747/0.01101, allocations: 394.1 kB / 255.5 MB, free: 3.195 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002898/0.0113, allocations: 83.31 kB / 255.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004966/0.01179, allocations: 215.5 kB / 255.8 MB, free: 2.902 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.01204, allocations: 131.6 kB / 255.9 MB, free: 2.773 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.928e-05/0.01212, allocations: 36 kB / 255.9 MB, free: 2.738 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.207e-05/0.01218, allocations: 32 kB / 256 MB, free: 2.707 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.104e-05/0.01226, allocations: 71.75 kB / 256 MB, free: 2.637 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.01241, allocations: 127.7 kB / 256.2 MB, free: 2.512 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004456/0.01286, allocations: 239.2 kB / 256.4 MB, free: 2.277 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.01286, allocations: 3.938 kB / 256.4 MB, free: 2.273 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.01287, allocations: 4 kB / 256.4 MB, free: 2.27 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.01288, allocations: 0 / 256.4 MB, free: 2.27 MB / 234.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.001261/0.01414, allocations: 0.6623 MB / 257.1 MB, free: 1.562 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/0.0142, allocations: 12.03 kB / 257.1 MB, free: 1.551 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.01433, allocations: 60.7 kB / 257.1 MB, free: 1.492 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.0147, allocations: 217 kB / 257.4 MB, free: 1.25 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.01473, allocations: 20.88 kB / 257.4 MB, free: 1.227 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/0.01478, allocations: 24.38 kB / 257.4 MB, free: 1.203 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005156/0.01529, allocations: 277 kB / 257.7 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.01531, allocations: 192 / 257.7 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.01533, allocations: 12.38 kB / 257.7 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.01535, allocations: 11.94 kB / 257.7 MB, free: 0.8789 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003341/0.01869, allocations: 89.36 kB / 257.8 MB, free: 0.793 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.02044, allocations: 1.004 MB / 258.8 MB, free: 15.71 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.0207, allocations: 95.12 kB / 258.9 MB, free: 15.6 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.015e-05/0.02076, allocations: 35.64 kB / 258.9 MB, free: 15.56 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.0208, allocations: 8 kB / 258.9 MB, free: 15.55 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002646/0.02106, allocations: 167.5 kB / 259.1 MB, free: 15.35 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.02106, allocations: 0 / 259.1 MB, free: 15.35 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009118/0.02197, allocations: 232.9 kB / 259.3 MB, free: 15.11 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001748/0.02215, allocations: 114.8 kB / 259.4 MB, free: 14.98 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.02241, allocations: 296.1 kB / 259.7 MB, free: 14.67 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.02244, allocations: 29.7 kB / 259.7 MB, free: 14.64 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.0226, allocations: 250.6 kB / 260 MB, free: 14.39 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.02263, allocations: 39.67 kB / 260 MB, free: 14.35 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.741e-05/0.02273, allocations: 63.52 kB / 260.1 MB, free: 14.28 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.02292, allocations: 0.5078 MB / 260.6 MB, free: 13.76 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006911/0.02361, allocations: 53.91 kB / 260.7 MB, free: 13.7 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.02381, allocations: 256.5 kB / 260.9 MB, free: 13.36 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.02404, allocations: 224.8 kB / 261.1 MB, free: 13.08 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.02404, allocations: 4 kB / 261.1 MB, free: 13.08 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005609/0.0246, allocations: 304.5 kB / 261.4 MB, free: 12.76 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/0.02465, allocations: 37.7 kB / 261.5 MB, free: 12.71 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.02466, allocations: 0 / 261.5 MB, free: 12.71 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002846/0.02494, allocations: 79.61 kB / 261.5 MB, free: 12.63 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.02505, allocations: 43.91 kB / 261.6 MB, free: 12.59 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.02639, allocations: 1.89 MB / 263.5 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.02658, allocations: 35.81 kB / 263.5 MB, free: 10.55 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.0266, allocations: 12 kB / 263.5 MB, free: 10.54 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 0.0001358/0.02673, allocations: 168.5 kB / 263.7 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.02677, allocations: 31.86 kB / 263.7 MB, free: 10.33 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.446e-05/0.0268, allocations: 29.73 kB / 263.7 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.0268, allocations: 0 / 263.7 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.02681, allocations: 4 kB / 263.7 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.02681, allocations: 0 / 263.7 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.02699, allocations: 173 kB / 263.9 MB, free: 10.1 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.02699, allocations: 3.938 kB / 263.9 MB, free: 10.1 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.291e-05/0.02703, allocations: 15.98 kB / 263.9 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003961/0.02743, allocations: 71.69 kB / 264 MB, free: 10.01 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.02744, allocations: 8 kB / 264 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009436/0.02839, allocations: 1.858 MB / 265.9 MB, free: 8.023 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.02839, allocations: 0 / 265.9 MB, free: 8.023 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.02862, allocations: 187.9 kB / 266.1 MB, free: 7.812 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.005e-05/0.02868, allocations: 39.77 kB / 266.1 MB, free: 7.773 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.0287, allocations: 4 kB / 266.1 MB, free: 7.77 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.573e-05/0.02879, allocations: 19.98 kB / 266.1 MB, free: 7.75 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.02885, allocations: 23.89 kB / 266.1 MB, free: 7.727 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.02886, allocations: 4 kB / 266.1 MB, free: 7.723 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.578e-05/0.02895, allocations: 197.1 kB / 266.3 MB, free: 7.535 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02895, allocations: 0 / 266.3 MB, free: 7.535 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002342/0.02919, allocations: 87.78 kB / 266.4 MB, free: 7.449 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 0.0001348/0.02932, allocations: 107.2 kB / 266.5 MB, free: 7.336 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003757/0.0297, allocations: 373.5 kB / 266.9 MB, free: 6.934 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.0297, allocations: 4 kB / 266.9 MB, free: 6.93 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.02985, allocations: 234.2 kB / 267.1 MB, free: 6.68 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.03005, allocations: 48.66 kB / 267.2 MB, free: 6.633 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.03111, allocations: 431 kB / 267.6 MB, free: 6.184 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.138e-05/0.03116, allocations: 88.22 kB / 267.7 MB, free: 6.078 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.028e-05/0.03122, allocations: 26.22 kB / 267.7 MB, free: 6.055 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.03135, allocations: 118.2 kB / 267.8 MB, free: 5.938 MB / 250.7 MB Notification: Performance of SimCode: time 9.62e-07/0.03135, allocations: 0 / 267.8 MB, free: 5.938 MB / 250.7 MB Notification: Performance of Templates: time 0.006162/0.03751, allocations: 4.379 MB / 272.2 MB, free: 1.586 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.928347575943917]