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.001048/0.001048, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001126/0.001126, allocations: 163.5 kB / 24.99 MB, free: 8.801 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.051/1.051, allocations: 177 MB / 205.2 MB, free: 5.586 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.333e-06/1.333e-06, allocations: 0 / 273 MB, free: 1.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165e-05/1.299e-05, allocations: 2.312 kB / 273 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.003055/0.003068, allocations: 2.974 MB / 276 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.004243, allocations: 0.7283 MB / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.004407, allocations: 8 kB / 276.7 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.004562, allocations: 51.5 kB / 276.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.004739, allocations: 107.1 kB / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.005004, allocations: 107.8 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003715/0.005375, allocations: 430.1 kB / 277.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.00556, allocations: 83.66 kB / 277.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002501/0.00581, allocations: 239.4 kB / 277.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.005968, allocations: 135.6 kB / 277.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.439e-05/0.006012, allocations: 40 kB / 277.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.667e-05/0.006049, allocations: 40 kB / 278 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.74e-05/0.006106, allocations: 87.67 kB / 278 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.006208, allocations: 127.7 kB / 278.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.006488, allocations: 259.1 kB / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.006492, allocations: 4 kB / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.006493, allocations: 0 / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.006499, allocations: 0 / 278.4 MB, free: 12.29 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.0007801/0.007279, allocations: 0.6896 MB / 279.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.007314, allocations: 11.98 kB / 279.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.194e-05/0.007406, allocations: 60.75 kB / 279.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.00769, allocations: 252 kB / 279.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.007708, allocations: 17.03 kB / 279.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.007737, allocations: 28.38 kB / 279.5 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.008072, allocations: 292.4 kB / 279.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.008081, allocations: 192 / 279.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.008102, allocations: 8.375 kB / 279.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.008111, allocations: 11.94 kB / 279.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.008288, allocations: 115.8 kB / 279.9 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.009414, allocations: 0.9404 MB / 280.8 MB, free: 9.715 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.00963, allocations: 111.2 kB / 280.9 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.42e-05/0.009694, allocations: 43.66 kB / 281 MB, free: 9.547 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.009712, allocations: 4 kB / 281 MB, free: 9.543 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.009907, allocations: 223.7 kB / 281.2 MB, free: 9.277 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.009908, allocations: 0 / 281.2 MB, free: 9.277 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006389/0.01055, allocations: 280.9 kB / 281.5 MB, free: 8.992 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.0106, allocations: 136.5 kB / 281.6 MB, free: 8.828 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.0108, allocations: 312.2 kB / 281.9 MB, free: 8.504 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.01082, allocations: 33.7 kB / 281.9 MB, free: 8.465 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.01092, allocations: 246.8 kB / 282.2 MB, free: 8.219 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.01096, allocations: 59.52 kB / 282.2 MB, free: 8.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-05/0.01102, allocations: 55.36 kB / 282.3 MB, free: 8.098 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.01113, allocations: 0.504 MB / 282.8 MB, free: 7.582 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.586e-05/0.01121, allocations: 61.67 kB / 282.9 MB, free: 7.516 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.01137, allocations: 294 kB / 283.2 MB, free: 7.141 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.01155, allocations: 225.9 kB / 283.4 MB, free: 6.867 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.01155, allocations: 4 kB / 283.4 MB, free: 6.863 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003741/0.01193, allocations: 332.1 kB / 283.7 MB, free: 6.516 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.01196, allocations: 32.83 kB / 283.7 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.01196, allocations: 4 kB / 283.7 MB, free: 6.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002928/0.01226, allocations: 83.95 kB / 283.8 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.01236, allocations: 47.91 kB / 283.9 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.01366, allocations: 2.248 MB / 286.1 MB, free: 3.969 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.0138, allocations: 47.77 kB / 286.2 MB, free: 3.922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.01381, allocations: 12 kB / 286.2 MB, free: 3.91 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 9.813e-05/0.01391, allocations: 176.5 kB / 286.3 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.01394, allocations: 31.86 kB / 286.4 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.01397, allocations: 26.14 kB / 286.4 MB, free: 3.668 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01397, allocations: 8 kB / 286.4 MB, free: 3.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.01398, allocations: 0 / 286.4 MB, free: 3.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.01398, allocations: 3.984 kB / 286.4 MB, free: 3.656 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.01414, allocations: 232.3 kB / 286.6 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01414, allocations: 0 / 286.6 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.725e-05/0.0142, allocations: 19.98 kB / 286.7 MB, free: 3.375 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002136/0.01442, allocations: 83.73 kB / 286.7 MB, free: 3.289 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.01443, allocations: 8 kB / 286.7 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.0155, allocations: 2.221 MB / 289 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.0155, allocations: 4.031 kB / 289 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.01576, allocations: 222.7 kB / 289.2 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.439e-05/0.01579, allocations: 23.8 kB / 289.2 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.01581, allocations: 4 kB / 289.2 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.698e-05/0.0159, allocations: 27.97 kB / 289.2 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.01596, allocations: 24.14 kB / 289.3 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.01597, allocations: 4 kB / 289.3 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001199/0.01609, allocations: 221.1 kB / 289.5 MB, free: 404 kB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01609, allocations: 0 / 289.5 MB, free: 404 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003288/0.01641, allocations: 91.78 kB / 289.6 MB, free: 312 kB / 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 9.713e-05/0.01651, allocations: 95.25 kB / 289.7 MB, free: 208 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004245/0.01694, allocations: 401.9 kB / 290.1 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.01694, allocations: 4.188 kB / 290.1 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.01713, allocations: 257.3 kB / 290.3 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.01735, allocations: 52.44 kB / 290.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.01837, allocations: 0.5144 MB / 290.9 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.107e-05/0.01842, allocations: 88.25 kB / 291 MB, free: 14.8 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.655e-05/0.01849, allocations: 30.28 kB / 291 MB, free: 14.76 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.01854, allocations: 20.5 kB / 291 MB, free: 14.74 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01854, allocations: 0 / 291 MB, free: 14.74 MB / 282.7 MB Notification: Performance of Templates: time 0.006069/0.02461, allocations: 4.407 MB / 295.4 MB, free: 10.4 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.8847576219122857]