Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001115/0.001115, allocations: 84.25 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001303/0.001303, allocations: 161.3 kB / 25.61 MB, free: 8.586 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.052/1.052, allocations: 177 MB / 205.9 MB, free: 4.449 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 274.2 MB, free: 4.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.375e-05/1.485e-05, allocations: 2.312 kB / 274.2 MB, free: 4.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.003573/0.003588, allocations: 2.938 MB / 277.1 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.004721, allocations: 0.737 MB / 277.8 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.004874, allocations: 7.938 kB / 277.8 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.005023, allocations: 52.41 kB / 277.9 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001901/0.005213, allocations: 116 kB / 278 MB, free: 392 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.005445, allocations: 102.8 kB / 278.1 MB, free: 292 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003792/0.005824, allocations: 430.1 kB / 278.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.005995, allocations: 87.66 kB / 278.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002291/0.006224, allocations: 235.5 kB / 278.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.006398, allocations: 135.6 kB / 279 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.037e-05/0.006449, allocations: 40 kB / 279 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.679e-05/0.006495, allocations: 43.94 kB / 279.1 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.357e-05/0.006559, allocations: 89.7 kB / 279.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.006676, allocations: 127.7 kB / 279.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.006957, allocations: 259.1 kB / 279.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.006959, allocations: 0 / 279.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.006959, allocations: 0 / 279.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.006963, allocations: 0.6562 kB / 279.5 MB, free: 14.86 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008129/0.007776, allocations: 0.6935 MB / 280.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.007807, allocations: 8.031 kB / 280.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.659e-05/0.007894, allocations: 60.7 kB / 280.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.008158, allocations: 240 kB / 280.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.008182, allocations: 25.03 kB / 280.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.008216, allocations: 24.38 kB / 280.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.008534, allocations: 276.4 kB / 280.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.008545, allocations: 192 / 280.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.008568, allocations: 8.375 kB / 280.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.008582, allocations: 11.94 kB / 280.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.008724, allocations: 80.52 kB / 280.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.009876, allocations: 0.9481 MB / 281.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.01008, allocations: 103.2 kB / 282 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.334e-05/0.01013, allocations: 39.61 kB / 282 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.01015, allocations: 7.938 kB / 282 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004226/0.01057, allocations: 217 kB / 282.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.243e-06/0.01057, allocations: 0 / 282.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006632/0.01124, allocations: 267.1 kB / 282.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.01129, allocations: 132.5 kB / 282.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.01149, allocations: 308.1 kB / 282.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.01151, allocations: 29.7 kB / 283 MB, free: 11.13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.01164, allocations: 250.7 kB / 283.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.676e-05/0.01167, allocations: 51.52 kB / 283.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-05/0.01176, allocations: 63.33 kB / 283.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.01188, allocations: 0.5156 MB / 283.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.451e-05/0.01195, allocations: 53.67 kB / 283.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.01211, allocations: 282 kB / 284.2 MB, free: 9.809 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.01229, allocations: 215.6 kB / 284.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01229, allocations: 0 / 284.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004058/0.0127, allocations: 315 kB / 284.7 MB, free: 9.215 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.01273, allocations: 37.7 kB / 284.7 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.01273, allocations: 0 / 284.7 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000286/0.01302, allocations: 79.61 kB / 284.8 MB, free: 9.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.01314, allocations: 47.94 kB / 284.8 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.01451, allocations: 2.2 MB / 287 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.01469, allocations: 59.78 kB / 287.1 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.01471, allocations: 15.94 kB / 287.1 MB, free: 6.652 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: 7 (buffer.opAmp.satNeg,buffer.opAmp.satPos,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 (25): * Single equations (assignments): 23 * 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.0001043/0.01481, allocations: 164.6 kB / 287.3 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.01485, allocations: 31.8 kB / 287.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.01489, allocations: 30.11 kB / 287.3 MB, free: 6.418 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.01489, allocations: 3.938 kB / 287.3 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.01489, allocations: 0 / 287.3 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.0149, allocations: 4 kB / 287.3 MB, free: 6.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.01506, allocations: 189 kB / 287.5 MB, free: 6.199 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.01506, allocations: 4 kB / 287.5 MB, free: 6.195 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.92e-05/0.01512, allocations: 15.98 kB / 287.5 MB, free: 6.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002447/0.01536, allocations: 79.55 kB / 287.6 MB, free: 6.098 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-06/0.01537, allocations: 0 / 287.6 MB, free: 6.098 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/0.01686, allocations: 2.198 MB / 289.8 MB, free: 3.785 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.01686, allocations: 4 kB / 289.8 MB, free: 3.781 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.01715, allocations: 211.7 kB / 290 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.01718, allocations: 31.81 kB / 290.1 MB, free: 3.516 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.01721, allocations: 4 kB / 290.1 MB, free: 3.512 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.01732, allocations: 27.97 kB / 290.1 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.01738, allocations: 19.97 kB / 290.1 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.01739, allocations: 3.984 kB / 290.1 MB, free: 3.461 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001154/0.01751, allocations: 205.1 kB / 290.3 MB, free: 3.266 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01751, allocations: 0 / 290.3 MB, free: 3.266 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003654/0.01787, allocations: 83.89 kB / 290.4 MB, free: 3.184 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: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,buffer.opAmp.satPos,buffer.opAmp.satNeg) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * 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 8.444e-05/0.01796, allocations: 103.2 kB / 290.5 MB, free: 3.074 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003784/0.01833, allocations: 400.2 kB / 290.9 MB, free: 2.648 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01834, allocations: 0 / 290.9 MB, free: 2.648 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.01854, allocations: 249.4 kB / 291.1 MB, free: 2.383 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.01879, allocations: 53.09 kB / 291.2 MB, free: 2.332 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.01987, allocations: 0.5065 MB / 291.7 MB, free: 1.797 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.286e-05/0.01993, allocations: 84.31 kB / 291.8 MB, free: 1.695 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.536e-05/0.02001, allocations: 26.28 kB / 291.8 MB, free: 1.664 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.02018, allocations: 130.2 kB / 291.9 MB, free: 1.535 MB / 266.7 MB Notification: Performance of SimCode: time 7.62e-07/0.02018, allocations: 4 kB / 291.9 MB, free: 1.531 MB / 266.7 MB Notification: Performance of Templates: time 0.007646/0.02782, allocations: 4.81 MB / 296.7 MB, free: 12.8 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.9388771299272776]