Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.0009686/0.0009686, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.0008764/0.0008764, allocations: 143.7 kB / 24.97 MB, free: 8.375 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.9269/0.9269, allocations: 173.4 MB / 201.5 MB, free: 9.336 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.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 268.1 MB, free: 6.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.281e-05, allocations: 6.312 kB / 268.1 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004315/0.004338, allocations: 2.942 MB / 271.1 MB, free: 3.738 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.005637, allocations: 0.7167 MB / 271.8 MB, free: 3.016 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.005797, allocations: 7.938 kB / 271.8 MB, free: 3.008 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001747/0.005972, allocations: 43.58 kB / 271.8 MB, free: 2.965 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.006187, allocations: 119 kB / 271.9 MB, free: 2.848 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.006436, allocations: 107.9 kB / 272 MB, free: 2.742 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003435/0.00678, allocations: 438.1 kB / 272.5 MB, free: 2.312 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.006944, allocations: 87.59 kB / 272.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.007172, allocations: 235.5 kB / 272.8 MB, free: 1.992 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.007322, allocations: 131.7 kB / 272.9 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.579e-05/0.007367, allocations: 40 kB / 272.9 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.753e-05/0.007405, allocations: 44 kB / 273 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.803e-05/0.007463, allocations: 87.66 kB / 273.1 MB, free: 1.695 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.007569, allocations: 127.7 kB / 273.2 MB, free: 1.57 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.007836, allocations: 255.1 kB / 273.5 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.007839, allocations: 0 / 273.5 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.007841, allocations: 3.984 kB / 273.5 MB, free: 1.316 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.007846, allocations: 0 / 273.5 MB, free: 1.316 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.0008095/0.008655, allocations: 0.6778 MB / 274.1 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.00869, allocations: 12.03 kB / 274.1 MB, free: 0.582 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.961e-05/0.00877, allocations: 52.75 kB / 274.2 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.009081, allocations: 244 kB / 274.4 MB, free: 272 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.009103, allocations: 20.86 kB / 274.5 MB, free: 252 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.009134, allocations: 28.38 kB / 274.5 MB, free: 224 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003941/0.009528, allocations: 309 kB / 274.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.009538, allocations: 192 / 274.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.009562, allocations: 12.38 kB / 274.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.009573, allocations: 7.938 kB / 274.8 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.00975, allocations: 106.9 kB / 274.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.0108, allocations: 1.029 MB / 275.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.01104, allocations: 115.1 kB / 276.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.365e-05/0.01111, allocations: 35.67 kB / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.01113, allocations: 11.98 kB / 276.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.01131, allocations: 179.4 kB / 276.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.01131, allocations: 0 / 276.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007165/0.01202, allocations: 320.5 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.01207, allocations: 110.8 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.01227, allocations: 308.2 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.01229, allocations: 33.7 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.0124, allocations: 246.7 kB / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.01243, allocations: 43.64 kB / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.225e-05/0.01249, allocations: 55.59 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.01261, allocations: 0.5042 MB / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-05/0.01269, allocations: 57.91 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.01283, allocations: 260.8 kB / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.01301, allocations: 232.4 kB / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01301, allocations: 0 / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003818/0.0134, allocations: 332.1 kB / 278.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.01342, allocations: 34.08 kB / 278.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.01343, allocations: 8 kB / 278.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002762/0.01371, allocations: 87.56 kB / 278.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.01381, allocations: 43.97 kB / 278.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/0.01506, allocations: 2.192 MB / 281.1 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.0152, allocations: 39.83 kB / 281.1 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.01521, allocations: 15.98 kB / 281.1 MB, free: 9.012 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (24): * Single equations (assignments): 22 * 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.0001014/0.01531, allocations: 176.5 kB / 281.3 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.01534, allocations: 31.8 kB / 281.4 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.541e-05/0.01537, allocations: 25.77 kB / 281.4 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.01537, allocations: 4.031 kB / 281.4 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.01537, allocations: 4 kB / 281.4 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.01538, allocations: 0 / 281.4 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.01553, allocations: 212.5 kB / 281.6 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.01553, allocations: 0 / 281.6 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.609e-05/0.01557, allocations: 20.11 kB / 281.6 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001831/0.01576, allocations: 83.56 kB / 281.7 MB, free: 8.414 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.01577, allocations: 0 / 281.7 MB, free: 8.414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/0.01686, allocations: 2.141 MB / 283.8 MB, free: 6.152 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.01686, allocations: 3.938 kB / 283.8 MB, free: 6.148 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.01713, allocations: 211.8 kB / 284 MB, free: 5.914 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.515e-05/0.01715, allocations: 27.89 kB / 284.1 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.01718, allocations: 4 kB / 284.1 MB, free: 5.883 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.707e-05/0.01726, allocations: 31.94 kB / 284.1 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/0.01732, allocations: 15.97 kB / 284.1 MB, free: 5.836 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.01733, allocations: 8.125 kB / 284.1 MB, free: 5.828 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001194/0.01745, allocations: 217.1 kB / 284.3 MB, free: 5.617 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01745, allocations: 0 / 284.3 MB, free: 5.617 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002676/0.01772, allocations: 79.78 kB / 284.4 MB, free: 5.539 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 0.0001079/0.01782, allocations: 103.2 kB / 284.5 MB, free: 5.426 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004833/0.01831, allocations: 426.3 kB / 284.9 MB, free: 4.969 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01831, allocations: 0 / 284.9 MB, free: 4.969 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.01847, allocations: 242.1 kB / 285.2 MB, free: 4.711 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.01868, allocations: 44.42 kB / 285.2 MB, free: 4.668 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.01999, allocations: 0.6863 MB / 285.9 MB, free: 3.953 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.309e-05/0.02003, allocations: 84.25 kB / 286 MB, free: 3.852 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.946e-05/0.0201, allocations: 26.3 kB / 286 MB, free: 3.828 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.53e-05/0.02015, allocations: 20.5 kB / 286 MB, free: 3.809 MB / 266.7 MB Notification: Performance of SimCode: time 8.91e-07/0.02015, allocations: 4 kB / 286 MB, free: 3.805 MB / 266.7 MB Notification: Performance of Templates: time 0.005498/0.02565, allocations: 4.142 MB / 290.2 MB, free: 15.73 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.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.6908720079809427]