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.00151/0.00151, allocations: 88.28 kB / 20.96 MB, free: 3.449 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.001757/0.001757, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 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.464/1.464, allocations: 177 MB / 204.5 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.883e-06/1.883e-06, allocations: 0 / 272.2 MB, free: 1.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.2e-05/3.388e-05, allocations: 2.312 kB / 272.2 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.007835/0.007869, allocations: 2.775 MB / 275 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002548/0.01042, allocations: 0.7166 MB / 275.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002386/0.01066, allocations: 7.938 kB / 275.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.01092, allocations: 55.5 kB / 275.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004404/0.01136, allocations: 111.1 kB / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005596/0.01192, allocations: 103.8 kB / 276 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008709/0.01279, allocations: 426.2 kB / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003227/0.01311, allocations: 91.64 kB / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005427/0.01365, allocations: 231.4 kB / 276.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000356/0.01401, allocations: 131.6 kB / 276.9 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.01413, allocations: 44 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.01424, allocations: 40 kB / 276.9 MB, free: 13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.01439, allocations: 87.66 kB / 277 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000302/0.01469, allocations: 123.7 kB / 277.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009259/0.01562, allocations: 466.6 kB / 277.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.01562, allocations: 0 / 277.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.01562, allocations: 3.938 kB / 277.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.01564, allocations: 0 / 277.6 MB, free: 12.33 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.002151/0.01779, allocations: 0.6014 MB / 278.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.01784, allocations: 15.98 kB / 278.2 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001985/0.01804, allocations: 52.75 kB / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007384/0.01878, allocations: 245.2 kB / 278.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.01882, allocations: 25.03 kB / 278.5 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.429e-05/0.01891, allocations: 32.31 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.02014, allocations: 367.7 kB / 278.9 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.02016, allocations: 192 / 278.9 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.531e-05/0.02022, allocations: 8.375 kB / 278.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.02024, allocations: 11.94 kB / 279 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.02153, allocations: 270.4 kB / 279.2 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003391/0.02492, allocations: 0.9373 MB / 280.2 MB, free: 9.633 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.02609, allocations: 202.6 kB / 280.4 MB, free: 9.426 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005196/0.02661, allocations: 88.8 kB / 280.4 MB, free: 9.336 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.02664, allocations: 8 kB / 280.5 MB, free: 9.328 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000798/0.02744, allocations: 264 kB / 280.7 MB, free: 9.027 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 2.164e-06/0.02744, allocations: 0 / 280.7 MB, free: 9.027 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.003063/0.0305, allocations: 453.9 kB / 281.2 MB, free: 8.574 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001609/0.03066, allocations: 136.5 kB / 281.3 MB, free: 8.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005877/0.03125, allocations: 273.8 kB / 281.6 MB, free: 8.129 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.681e-05/0.03131, allocations: 33.7 kB / 281.6 MB, free: 8.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.0316, allocations: 208 kB / 281.8 MB, free: 7.883 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.067e-05/0.03169, allocations: 51.52 kB / 281.8 MB, free: 7.832 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.03187, allocations: 57.7 kB / 281.9 MB, free: 7.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002875/0.03216, allocations: 334.8 kB / 282.2 MB, free: 7.434 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005913/0.03275, allocations: 125.6 kB / 282.3 MB, free: 7.305 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008497/0.0336, allocations: 299.6 kB / 282.6 MB, free: 6.941 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.0348, allocations: 295.3 kB / 282.9 MB, free: 6.613 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.03481, allocations: 4 kB / 282.9 MB, free: 6.609 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.002032/0.03684, allocations: 465.5 kB / 283.4 MB, free: 6.133 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.819e-05/0.03691, allocations: 33.7 kB / 283.4 MB, free: 6.094 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.03692, allocations: 0 / 283.4 MB, free: 6.094 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.03795, allocations: 108.8 kB / 283.5 MB, free: 5.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00042/0.03837, allocations: 51.89 kB / 283.6 MB, free: 5.934 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004473/0.04284, allocations: 1.846 MB / 285.4 MB, free: 3.984 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006196/0.04346, allocations: 51.91 kB / 285.5 MB, free: 3.934 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.346e-05/0.04351, allocations: 16 kB / 285.5 MB, free: 3.918 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.0003199/0.04383, allocations: 153.7 kB / 285.6 MB, free: 3.758 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.04394, allocations: 31.81 kB / 285.7 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.865e-05/0.04403, allocations: 26.11 kB / 285.7 MB, free: 3.699 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.04403, allocations: 4 kB / 285.7 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.04404, allocations: 0 / 285.7 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.04404, allocations: 0 / 285.7 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004753/0.04451, allocations: 229.1 kB / 285.9 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.04452, allocations: 0 / 285.9 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.04476, allocations: 27.97 kB / 285.9 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008986/0.04566, allocations: 104.8 kB / 286.1 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.04569, allocations: 7.984 kB / 286.1 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003696/0.04939, allocations: 1.834 MB / 287.9 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.04939, allocations: 0 / 287.9 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009357/0.05032, allocations: 324.5 kB / 288.2 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.161e-05/0.0504, allocations: 31.78 kB / 288.2 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.05043, allocations: 0 / 288.2 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.05068, allocations: 31.97 kB / 288.3 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.768e-05/0.05078, allocations: 23.95 kB / 288.3 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.05079, allocations: 4 kB / 288.3 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002506/0.05104, allocations: 197.2 kB / 288.5 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05104, allocations: 0 / 288.5 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004568/0.0515, allocations: 83.83 kB / 288.6 MB, free: 0.6641 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 0.0001563/0.05166, allocations: 107.2 kB / 288.7 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.05268, allocations: 451 kB / 289.1 MB, free: 84 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.05268, allocations: 4.062 kB / 289.1 MB, free: 80 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000518/0.0532, allocations: 230.5 kB / 289.3 MB, free: 15.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.05354, allocations: 64.38 kB / 289.4 MB, free: 15.78 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.05541, allocations: 0.5907 MB / 290 MB, free: 15.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.05558, allocations: 155.3 kB / 290.2 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.05569, allocations: 30.28 kB / 290.2 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.445e-05/0.05577, allocations: 24.5 kB / 290.2 MB, free: 14.93 MB / 282.7 MB Notification: Performance of SimCode: time 5.92e-07/0.05577, allocations: 0 / 290.2 MB, free: 14.93 MB / 282.7 MB Notification: Performance of Templates: time 0.009361/0.06513, allocations: 4.366 MB / 294.6 MB, free: 10.62 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.503967575030401]