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.001497/0.001497, allocations: 80.62 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.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.001426/0.001426, allocations: 147.7 kB / 25.6 MB, free: 8.602 MB / 18.57 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.9526/0.9526, allocations: 173.4 MB / 202.2 MB, free: 8.301 MB / 186.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.072e-06/1.072e-06, allocations: 0 / 269.2 MB, free: 9.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.626e-05/1.733e-05, allocations: 2.312 kB / 269.2 MB, free: 9.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.003354/0.003371, allocations: 2.892 MB / 272.1 MB, free: 6.945 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.004517, allocations: 0.7166 MB / 272.8 MB, free: 6.227 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.004656, allocations: 4 kB / 272.8 MB, free: 6.223 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.004814, allocations: 52.19 kB / 272.9 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.004995, allocations: 114.7 kB / 273 MB, free: 6.062 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.005252, allocations: 115.8 kB / 273.1 MB, free: 5.949 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003919/0.005644, allocations: 426.2 kB / 273.5 MB, free: 5.531 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.005832, allocations: 91.64 kB / 273.6 MB, free: 5.438 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002492/0.006081, allocations: 231.5 kB / 273.9 MB, free: 5.211 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.006259, allocations: 135.6 kB / 274 MB, free: 5.078 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.316e-05/0.006313, allocations: 40 kB / 274 MB, free: 5.039 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.559e-05/0.006358, allocations: 40.97 kB / 274.1 MB, free: 5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.372e-05/0.006422, allocations: 83.72 kB / 274.1 MB, free: 4.918 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.006534, allocations: 127.6 kB / 274.3 MB, free: 4.793 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.006829, allocations: 259.1 kB / 274.5 MB, free: 4.539 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.006831, allocations: 0 / 274.5 MB, free: 4.539 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.006832, allocations: 0 / 274.5 MB, free: 4.539 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.006836, allocations: 0 / 274.5 MB, free: 4.539 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.0008426/0.007678, allocations: 0.6972 MB / 275.2 MB, free: 3.797 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.007711, allocations: 8.031 kB / 275.2 MB, free: 3.789 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.46e-05/0.007795, allocations: 56.75 kB / 275.3 MB, free: 3.734 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.008054, allocations: 243.9 kB / 275.5 MB, free: 3.469 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.008072, allocations: 16.88 kB / 275.5 MB, free: 3.453 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.008105, allocations: 28.38 kB / 275.6 MB, free: 3.426 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003617/0.008466, allocations: 285 kB / 275.8 MB, free: 3.121 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.008476, allocations: 8.188 kB / 275.9 MB, free: 3.113 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.008498, allocations: 8.375 kB / 275.9 MB, free: 3.105 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.008508, allocations: 11.94 kB / 275.9 MB, free: 3.094 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.008646, allocations: 79.38 kB / 276 MB, free: 3.02 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.009927, allocations: 1.045 MB / 277 MB, free: 1.906 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.01014, allocations: 103.2 kB / 277.1 MB, free: 1.793 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.084e-05/0.01019, allocations: 35.66 kB / 277.1 MB, free: 1.754 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.0102, allocations: 0 / 277.1 MB, free: 1.754 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.01037, allocations: 183.4 kB / 277.3 MB, free: 1.535 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 9.52e-07/0.01038, allocations: 0 / 277.3 MB, free: 1.535 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007828/0.01116, allocations: 292.9 kB / 277.6 MB, free: 1.238 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.01121, allocations: 103 kB / 277.7 MB, free: 1.113 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.0114, allocations: 304 kB / 278 MB, free: 0.793 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.01142, allocations: 37.64 kB / 278 MB, free: 0.75 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.01154, allocations: 250.7 kB / 278.3 MB, free: 0.5 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.01157, allocations: 51.61 kB / 278.3 MB, free: 460 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.583e-05/0.01165, allocations: 55.53 kB / 278.4 MB, free: 392 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.01179, allocations: 0.5079 MB / 278.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.481e-05/0.01186, allocations: 54.14 kB / 278.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.012, allocations: 233.6 kB / 279.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.01217, allocations: 212 kB / 279.4 MB, free: 15.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.01217, allocations: 0 / 279.4 MB, free: 15.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004148/0.01259, allocations: 308.4 kB / 279.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.01261, allocations: 37.69 kB / 279.7 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.01262, allocations: 4 kB / 279.7 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002772/0.0129, allocations: 75.73 kB / 279.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.01304, allocations: 43.91 kB / 279.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.01437, allocations: 2.115 MB / 282 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.01456, allocations: 43.77 kB / 282 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.01458, allocations: 12 kB / 282 MB, free: 12.46 MB / 266.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 0.0001186/0.0147, allocations: 168.5 kB / 282.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.01474, allocations: 39.81 kB / 282.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.554e-05/0.01478, allocations: 21.78 kB / 282.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01478, allocations: 0 / 282.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.01478, allocations: 3.984 kB / 282.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.01479, allocations: 7.969 kB / 282.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.01496, allocations: 177.1 kB / 282.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.01496, allocations: 0 / 282.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.574e-05/0.01502, allocations: 19.98 kB / 282.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002192/0.01524, allocations: 79.61 kB / 282.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.01525, allocations: 0 / 282.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.01627, allocations: 1.854 MB / 284.4 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01627, allocations: 0 / 284.4 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.01656, allocations: 207.5 kB / 284.6 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-05/0.0166, allocations: 27.84 kB / 284.6 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.01662, allocations: 4.031 kB / 284.6 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.01673, allocations: 23.98 kB / 284.6 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.01678, allocations: 23.89 kB / 284.6 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.01679, allocations: 4 kB / 284.7 MB, free: 9.633 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001037/0.0169, allocations: 201 kB / 284.8 MB, free: 9.441 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0169, allocations: 0 / 284.8 MB, free: 9.441 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003118/0.01721, allocations: 79.84 kB / 284.9 MB, free: 9.363 MB / 266.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 9.439e-05/0.0173, allocations: 115.1 kB / 285 MB, free: 9.238 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003684/0.01767, allocations: 378.1 kB / 285.4 MB, free: 8.832 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01767, allocations: 0 / 285.4 MB, free: 8.832 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.01785, allocations: 233.4 kB / 285.6 MB, free: 8.582 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.01813, allocations: 47.94 kB / 285.7 MB, free: 8.539 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000797/0.01893, allocations: 446.9 kB / 286.1 MB, free: 8.074 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.228e-05/0.01898, allocations: 80.31 kB / 286.2 MB, free: 7.977 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.773e-05/0.01907, allocations: 30.27 kB / 286.2 MB, free: 7.949 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.01923, allocations: 126.2 kB / 286.3 MB, free: 7.824 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01923, allocations: 0 / 286.3 MB, free: 7.824 MB / 266.7 MB Notification: Performance of Templates: time 0.007353/0.02659, allocations: 4.508 MB / 290.9 MB, free: 3.383 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 -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.83395774057135]