Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.0007612/0.0007612, allocations: 76.48 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001062/0.001823, 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.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.0008937/0.0008937, allocations: 148.9 kB / 11.24 MB, free: 2.93 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001414/0.002308, allocations: 459.6 kB / 11.69 MB, free: 2.477 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.9971/0.9971, allocations: 173.4 MB / 185.8 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08799/1.085, allocations: 52.49 MB / 238.3 MB, free: 4.449 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.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 239.6 MB, free: 3.156 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/1.984e-05, allocations: 2.875 kB / 239.6 MB, free: 3.152 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.003144/0.003164, allocations: 2.958 MB / 242.5 MB, free: 188 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.004445, allocations: 0.7438 MB / 243.3 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.004572, allocations: 4 kB / 243.3 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.004675, allocations: 51.5 kB / 243.3 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.004825, allocations: 107.1 kB / 243.4 MB, free: 15.27 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.005042, allocations: 127.7 kB / 243.6 MB, free: 15.15 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000375/0.005417, allocations: 422.2 kB / 244 MB, free: 14.73 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.005572, allocations: 90.28 kB / 244.1 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002742/0.005846, allocations: 272 kB / 244.3 MB, free: 14.38 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.005998, allocations: 139.6 kB / 244.5 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.671e-05/0.006045, allocations: 40 kB / 244.5 MB, free: 14.2 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.699e-05/0.006082, allocations: 40 kB / 244.6 MB, free: 14.16 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.636e-05/0.006128, allocations: 59.81 kB / 244.6 MB, free: 14.1 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.548e-05/0.006214, allocations: 99.81 kB / 244.7 MB, free: 14 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.006461, allocations: 243.1 kB / 244.9 MB, free: 13.77 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.376e-05/0.006475, allocations: 0 / 244.9 MB, free: 13.77 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.006476, allocations: 0 / 244.9 MB, free: 13.77 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.006493, allocations: 0 / 244.9 MB, free: 13.77 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0008299/0.007323, allocations: 0.6192 MB / 245.6 MB, free: 13.11 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.007361, allocations: 12.03 kB / 245.6 MB, free: 13.1 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.209e-05/0.007443, allocations: 44.91 kB / 245.6 MB, free: 13.05 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.007737, allocations: 197.1 kB / 245.8 MB, free: 12.84 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.706e-05/0.007794, allocations: 20.88 kB / 245.8 MB, free: 12.82 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.007828, allocations: 24.38 kB / 245.9 MB, free: 12.79 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/0.00821, allocations: 291.3 kB / 246.1 MB, free: 12.48 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.008223, allocations: 4.125 kB / 246.1 MB, free: 12.48 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.008244, allocations: 16.38 kB / 246.2 MB, free: 12.46 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.008254, allocations: 7.938 kB / 246.2 MB, free: 12.45 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.008358, allocations: 63.47 kB / 246.2 MB, free: 12.39 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009835/0.009341, allocations: 0.7951 MB / 247 MB, free: 11.55 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.009527, allocations: 94.47 kB / 247.1 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.788e-05/0.009565, allocations: 29.06 kB / 247.1 MB, free: 11.42 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.009591, allocations: 7.938 kB / 247.2 MB, free: 11.41 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.00976, allocations: 161.2 kB / 247.3 MB, free: 11.22 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.009761, allocations: 0 / 247.3 MB, free: 11.22 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006155/0.01038, allocations: 269.1 kB / 247.6 MB, free: 10.95 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.01041, allocations: 51.41 kB / 247.6 MB, free: 10.89 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.01056, allocations: 244.9 kB / 247.9 MB, free: 10.63 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.01058, allocations: 29.7 kB / 247.9 MB, free: 10.59 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.251e-05/0.01067, allocations: 199.9 kB / 248.1 MB, free: 10.39 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.0107, allocations: 43.61 kB / 248.1 MB, free: 10.35 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.01076, allocations: 53.88 kB / 248.2 MB, free: 10.29 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.007e-05/0.01085, allocations: 330.8 kB / 248.5 MB, free: 9.957 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.514e-05/0.0109, allocations: 50.16 kB / 248.6 MB, free: 9.902 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.01101, allocations: 198 kB / 248.8 MB, free: 9.648 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.01115, allocations: 178.3 kB / 248.9 MB, free: 9.434 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.01116, allocations: 0 / 248.9 MB, free: 9.434 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003047/0.01146, allocations: 265.7 kB / 249.2 MB, free: 9.152 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.267e-05/0.0115, allocations: 33.69 kB / 249.2 MB, free: 9.113 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.01151, allocations: 7.984 kB / 249.2 MB, free: 9.105 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000391/0.0119, allocations: 72.91 kB / 249.3 MB, free: 9.031 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.888e-05/0.012, allocations: 51.91 kB / 249.3 MB, free: 8.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008867/0.01289, allocations: 1.457 MB / 250.8 MB, free: 7.434 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.01301, allocations: 43.77 kB / 250.8 MB, free: 7.391 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.01302, allocations: 15.98 kB / 250.9 MB, free: 7.375 MB / 250.7 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 7.448e-05/0.0131, allocations: 117.8 kB / 251 MB, free: 7.25 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.01312, allocations: 27.95 kB / 251 MB, free: 7.223 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.591e-05/0.01315, allocations: 25.7 kB / 251 MB, free: 7.203 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01315, allocations: 4 kB / 251 MB, free: 7.199 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.01315, allocations: 0 / 251 MB, free: 7.199 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01315, allocations: 0 / 251 MB, free: 7.199 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.01327, allocations: 153.7 kB / 251.2 MB, free: 7.031 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.01327, allocations: 0 / 251.2 MB, free: 7.031 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.64e-05/0.01332, allocations: 20.11 kB / 251.2 MB, free: 7.012 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.141e-05/0.01334, allocations: 19.86 kB / 251.2 MB, free: 6.992 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001543/0.01349, allocations: 72.8 kB / 251.3 MB, free: 6.918 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.0135, allocations: 0 / 251.3 MB, free: 6.918 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007033/0.0142, allocations: 1.292 MB / 252.6 MB, free: 5.539 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01421, allocations: 192 / 252.6 MB, free: 5.539 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.01439, allocations: 165.8 kB / 252.7 MB, free: 5.355 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.01441, allocations: 12.03 kB / 252.8 MB, free: 5.344 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.01448, allocations: 23.97 kB / 252.8 MB, free: 5.32 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003274/0.01481, allocations: 19.97 kB / 252.8 MB, free: 5.301 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.01481, allocations: 4 kB / 252.8 MB, free: 5.297 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.847e-05/0.01487, allocations: 78.78 kB / 252.9 MB, free: 5.223 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01487, allocations: 0 / 252.9 MB, free: 5.223 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002074/0.01508, allocations: 87.77 kB / 253 MB, free: 5.137 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 (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.0001085/0.01519, allocations: 96.23 kB / 253.1 MB, free: 5.035 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002926/0.01548, allocations: 300.4 kB / 253.4 MB, free: 4.707 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/0.01549, allocations: 4 kB / 253.4 MB, free: 4.703 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.01562, allocations: 174.6 kB / 253.5 MB, free: 4.52 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.01579, allocations: 72.09 kB / 253.6 MB, free: 4.453 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.01729, allocations: 457.1 kB / 254 MB, free: 3.977 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.93e-05/0.01733, allocations: 80.33 kB / 254.1 MB, free: 3.879 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.582e-05/0.01741, allocations: 26.28 kB / 254.2 MB, free: 3.852 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.01752, allocations: 103.3 kB / 254.3 MB, free: 3.75 MB / 250.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01752, allocations: 0 / 254.3 MB, free: 3.75 MB / 250.7 MB Notification: Performance of Templates: time 0.006431/0.02395, allocations: 4.48 MB / 258.7 MB, free: 15.34 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.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.6765304785221815]