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.0008089/0.0008089, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003044/0.003044, allocations: 154.4 kB / 24.7 MB, free: 8.922 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 0.8542/0.8542, allocations: 177 MB / 204.9 MB, free: 5.766 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 2.865e-06/2.865e-06, allocations: 3.984 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/3.03e-05, allocations: 2.984 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.002854/0.002884, allocations: 2.776 MB / 328.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009427/0.003827, allocations: 0.7166 MB / 329.3 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.003952, allocations: 7.938 kB / 329.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.004094, allocations: 47.56 kB / 329.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.004238, allocations: 119 kB / 329.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.004464, allocations: 107.8 kB / 329.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000338/0.004802, allocations: 430.1 kB / 330 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.004991, allocations: 83.61 kB / 330.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.005172, allocations: 231.5 kB / 330.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.005309, allocations: 131.6 kB / 330.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.386e-05/0.005352, allocations: 40 kB / 330.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.258e-05/0.005385, allocations: 44 kB / 330.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/0.005438, allocations: 83.67 kB / 330.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.00554, allocations: 127.7 kB / 330.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003393/0.005879, allocations: 474.6 kB / 331.2 MB, free: 9.961 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.005882, allocations: 0 / 331.2 MB, free: 9.961 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005883, allocations: 0 / 331.2 MB, free: 9.961 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.005888, allocations: 0 / 331.2 MB, free: 9.961 MB / 298.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.0008309/0.006719, allocations: 0.5936 MB / 331.8 MB, free: 9.332 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.006758, allocations: 11.98 kB / 331.8 MB, free: 9.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.256e-05/0.00682, allocations: 36.75 kB / 331.8 MB, free: 9.285 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.007119, allocations: 253.1 kB / 332.1 MB, free: 9.012 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.007141, allocations: 21.03 kB / 332.1 MB, free: 8.988 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.007167, allocations: 24.38 kB / 332.1 MB, free: 8.965 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004096/0.007576, allocations: 367.7 kB / 332.5 MB, free: 8.582 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.007587, allocations: 192 / 332.5 MB, free: 8.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.007611, allocations: 20.3 kB / 332.5 MB, free: 8.562 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.007618, allocations: 7.938 kB / 332.5 MB, free: 8.555 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003604/0.007979, allocations: 262.5 kB / 332.8 MB, free: 8.301 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.009041, allocations: 0.9256 MB / 333.7 MB, free: 7.309 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.009425, allocations: 210.6 kB / 333.9 MB, free: 7.094 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.009574, allocations: 88.8 kB / 334 MB, free: 7.004 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.009599, allocations: 0 / 334 MB, free: 7.004 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003051/0.009904, allocations: 271.9 kB / 334.3 MB, free: 6.695 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.009905, allocations: 0 / 334.3 MB, free: 6.695 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009477/0.01085, allocations: 451.7 kB / 334.7 MB, free: 6.246 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/0.01092, allocations: 136.5 kB / 334.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.01111, allocations: 269.9 kB / 335.1 MB, free: 5.809 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.01113, allocations: 29.7 kB / 335.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.709e-05/0.01123, allocations: 204 kB / 335.3 MB, free: 5.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.01126, allocations: 55.53 kB / 335.4 MB, free: 5.516 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/0.01132, allocations: 53.7 kB / 335.4 MB, free: 5.457 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.01142, allocations: 330.8 kB / 335.7 MB, free: 5.125 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.0116, allocations: 129.6 kB / 335.9 MB, free: 4.992 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.01182, allocations: 307.5 kB / 336.2 MB, free: 4.621 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.01214, allocations: 294.9 kB / 336.5 MB, free: 4.293 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.01214, allocations: 0 / 336.5 MB, free: 4.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005759/0.01272, allocations: 449.5 kB / 336.9 MB, free: 3.832 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.01275, allocations: 41.73 kB / 336.9 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.01275, allocations: 0 / 336.9 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002242/0.01298, allocations: 76.78 kB / 337 MB, free: 3.707 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.01308, allocations: 47.91 kB / 337.1 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.01447, allocations: 1.853 MB / 338.9 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.01462, allocations: 51.86 kB / 339 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.01464, allocations: 12 kB / 339 MB, free: 1.641 MB / 298.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.0001111/0.01475, allocations: 157.8 kB / 339.1 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.01477, allocations: 27.81 kB / 339.2 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.737e-05/0.0148, allocations: 30.05 kB / 339.2 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.0148, allocations: 4 kB / 339.2 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.0148, allocations: 4 kB / 339.2 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.01481, allocations: 3.984 kB / 339.2 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.01496, allocations: 225.1 kB / 339.4 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.01496, allocations: 0 / 339.4 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.189e-05/0.01502, allocations: 23.98 kB / 339.4 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001624/0.01519, allocations: 72.78 kB / 339.5 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.0152, allocations: 8 kB / 339.5 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001231/0.01643, allocations: 1.823 MB / 341.3 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.01643, allocations: 0 / 341.3 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004128/0.01684, allocations: 314 kB / 341.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.817e-05/0.01687, allocations: 31.84 kB / 341.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.0169, allocations: 8 kB / 341.7 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.01701, allocations: 31.89 kB / 341.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.01706, allocations: 23.97 kB / 341.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.01707, allocations: 4 kB / 341.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001221/0.0172, allocations: 197.2 kB / 341.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0172, allocations: 0 / 341.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002695/0.01747, allocations: 87.83 kB / 342 MB, free: 14.42 MB / 314.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.0001035/0.01757, allocations: 103.2 kB / 342.1 MB, free: 14.31 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005859/0.01816, allocations: 442.6 kB / 342.6 MB, free: 13.85 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.01816, allocations: 12.23 kB / 342.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.0184, allocations: 226.6 kB / 342.8 MB, free: 13.6 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.01861, allocations: 51.89 kB / 342.8 MB, free: 13.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.01962, allocations: 0.6022 MB / 343.4 MB, free: 12.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.654e-05/0.01971, allocations: 155.5 kB / 343.6 MB, free: 12.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.591e-05/0.01976, allocations: 36.42 kB / 343.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01976, allocations: 0 / 343.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of Templates: time 0.004557/0.02432, allocations: 5.015 MB / 348.7 MB, free: 7.707 MB / 314.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.226345861330628]