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.001085/0.001085, allocations: 84 kB / 21.18 MB, free: 3.398 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.001235/0.001235, allocations: 149.1 kB / 24.54 MB, free: 44 kB / 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.9234/0.9234, allocations: 173.4 MB / 201.1 MB, free: 9.355 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 1.863e-06/1.863e-06, allocations: 0 / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.501e-05, allocations: 2.312 kB / 268 MB, free: 6.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004177/0.004202, allocations: 2.938 MB / 271 MB, free: 3.461 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.005576, allocations: 0.7245 MB / 271.7 MB, free: 2.73 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.005722, allocations: 4 kB / 271.7 MB, free: 2.727 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.00586, allocations: 55.5 kB / 271.8 MB, free: 2.672 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.006006, allocations: 107.1 kB / 271.9 MB, free: 2.566 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.006249, allocations: 115.8 kB / 272 MB, free: 2.453 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.006561, allocations: 430.2 kB / 272.4 MB, free: 2.031 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.006716, allocations: 83.66 kB / 272.5 MB, free: 1.945 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.006908, allocations: 235.5 kB / 272.7 MB, free: 1.715 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.007047, allocations: 135.6 kB / 272.8 MB, free: 1.582 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.468e-05/0.007091, allocations: 44 kB / 272.9 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.779e-05/0.007129, allocations: 40 kB / 272.9 MB, free: 1.5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.414e-05/0.007183, allocations: 83.67 kB / 273 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.154e-05/0.007275, allocations: 123.7 kB / 273.1 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.007511, allocations: 267.1 kB / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.007514, allocations: 0 / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.92e-07/0.007514, allocations: 0 / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.007519, allocations: 0 / 273.4 MB, free: 1.035 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.0007595/0.008278, allocations: 0.6778 MB / 274.1 MB, free: 320 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.008313, allocations: 8.031 kB / 274.1 MB, free: 312 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.734e-05/0.008391, allocations: 56.75 kB / 274.1 MB, free: 256 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.008655, allocations: 251.9 kB / 274.4 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.00867, allocations: 16.88 kB / 274.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.008698, allocations: 24.38 kB / 274.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/0.009062, allocations: 309.1 kB / 274.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.009071, allocations: 192 / 274.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.009097, allocations: 12.38 kB / 274.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.009106, allocations: 7.938 kB / 274.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.009275, allocations: 106.9 kB / 274.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009616/0.01024, allocations: 1.029 MB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.01046, allocations: 115.2 kB / 276 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.668e-05/0.01053, allocations: 43.67 kB / 276 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.01054, allocations: 4 kB / 276 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.01071, allocations: 183.4 kB / 276.2 MB, free: 13.99 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.01071, allocations: 0 / 276.2 MB, free: 13.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006801/0.01139, allocations: 316.5 kB / 276.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.01143, allocations: 110.8 kB / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.01164, allocations: 308.2 kB / 276.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.01165, allocations: 29.7 kB / 277 MB, free: 13.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.82e-05/0.01175, allocations: 250.7 kB / 277.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.01178, allocations: 39.64 kB / 277.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.384e-05/0.01184, allocations: 59.59 kB / 277.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.01195, allocations: 0.5003 MB / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.308e-05/0.01202, allocations: 61.91 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.01216, allocations: 264.7 kB / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.01233, allocations: 228.5 kB / 278.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01233, allocations: 4 kB / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003739/0.0127, allocations: 332.3 kB / 278.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.01273, allocations: 37.77 kB / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.01273, allocations: 4 kB / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000256/0.01299, allocations: 87.62 kB / 278.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.01309, allocations: 43.91 kB / 278.8 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.0143, allocations: 2.18 MB / 281 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.01444, allocations: 47.81 kB / 281.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.01445, allocations: 12 kB / 281.1 MB, free: 8.734 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 9.104e-05/0.01454, allocations: 172.5 kB / 281.2 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.01457, allocations: 31.8 kB / 281.3 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/0.0146, allocations: 33.83 kB / 281.3 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.0146, allocations: 0 / 281.3 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.0146, allocations: 0 / 281.3 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01461, allocations: 0 / 281.3 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.01475, allocations: 216.5 kB / 281.5 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01475, allocations: 0 / 281.5 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.555e-05/0.0148, allocations: 20.11 kB / 281.5 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001736/0.01497, allocations: 87.5 kB / 281.6 MB, free: 8.133 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.01498, allocations: 4 kB / 281.6 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009235/0.01591, allocations: 2.137 MB / 283.8 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01591, allocations: 3.938 kB / 283.8 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.01616, allocations: 215.8 kB / 284 MB, free: 5.629 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.223e-05/0.01618, allocations: 19.86 kB / 284 MB, free: 5.609 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.0162, allocations: 12.03 kB / 284 MB, free: 5.598 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.03e-05/0.01628, allocations: 19.97 kB / 284 MB, free: 5.578 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/0.01633, allocations: 19.97 kB / 284 MB, free: 5.559 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.01634, allocations: 4.125 kB / 284 MB, free: 5.555 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001141/0.01646, allocations: 209.1 kB / 284.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01646, allocations: 0 / 284.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002539/0.01671, allocations: 83.84 kB / 284.3 MB, free: 5.27 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 7.626e-05/0.01679, allocations: 107.2 kB / 284.4 MB, free: 5.152 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004844/0.01727, allocations: 426.2 kB / 284.9 MB, free: 4.695 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01727, allocations: 4 kB / 284.9 MB, free: 4.691 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.01745, allocations: 242.1 kB / 285.1 MB, free: 4.434 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.01765, allocations: 52.34 kB / 285.1 MB, free: 4.383 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.01889, allocations: 0.6901 MB / 285.8 MB, free: 3.664 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.255e-05/0.01894, allocations: 80.31 kB / 285.9 MB, free: 3.566 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.598e-05/0.01903, allocations: 22.3 kB / 285.9 MB, free: 3.547 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.224e-05/0.01908, allocations: 28.48 kB / 286 MB, free: 3.52 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01908, allocations: 4 kB / 286 MB, free: 3.516 MB / 266.7 MB Notification: Performance of Templates: time 0.005879/0.02496, allocations: 4.336 MB / 290.3 MB, free: 15.24 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.789574109017849]