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.001321/0.001321, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001581/0.001581, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9857/0.9857, allocations: 177 MB / 204.8 MB, free: 5.59 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.813e-06/1.813e-06, allocations: 0 / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.654e-05, allocations: 8.922 kB / 273 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.003255/0.003282, allocations: 2.982 MB / 275.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.004513, allocations: 0.7322 MB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.004687, allocations: 7.938 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.004848, allocations: 51.5 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.005043, allocations: 111.1 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.005334, allocations: 103.8 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003754/0.005709, allocations: 426.2 kB / 277.4 MB, free: 13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.005904, allocations: 95.58 kB / 277.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.006143, allocations: 235.5 kB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.006301, allocations: 131.6 kB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.676e-05/0.006348, allocations: 44 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.039e-05/0.006388, allocations: 40 kB / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.592e-05/0.006444, allocations: 87.66 kB / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.006549, allocations: 127.6 kB / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.006853, allocations: 259.1 kB / 278.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.006857, allocations: 0 / 278.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.006858, allocations: 4 kB / 278.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.006864, allocations: 0 / 278.4 MB, free: 11.99 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.000825/0.007689, allocations: 0.6857 MB / 279 MB, free: 11.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.007729, allocations: 15.98 kB / 279.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.174e-05/0.007821, allocations: 56.73 kB / 279.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.008114, allocations: 248 kB / 279.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.008132, allocations: 25.03 kB / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.008164, allocations: 24.38 kB / 279.4 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/0.008508, allocations: 292.4 kB / 279.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.008519, allocations: 192 / 279.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.008542, allocations: 12.38 kB / 279.7 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.008553, allocations: 7.938 kB / 279.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.008737, allocations: 111.9 kB / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.009837, allocations: 0.9403 MB / 280.8 MB, free: 9.422 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.01008, allocations: 119.2 kB / 280.9 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.622e-05/0.01014, allocations: 43.67 kB / 280.9 MB, free: 9.246 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.01017, allocations: 4 kB / 280.9 MB, free: 9.242 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.01038, allocations: 225 kB / 281.1 MB, free: 8.973 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.01038, allocations: 0 / 281.1 MB, free: 8.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006696/0.01105, allocations: 283.5 kB / 281.4 MB, free: 8.688 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.0111, allocations: 128.5 kB / 281.5 MB, free: 8.531 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.01132, allocations: 312.2 kB / 281.8 MB, free: 8.207 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.01134, allocations: 33.69 kB / 281.9 MB, free: 8.168 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.01145, allocations: 242.8 kB / 282.1 MB, free: 7.926 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.01148, allocations: 59.52 kB / 282.2 MB, free: 7.867 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-05/0.01155, allocations: 63.36 kB / 282.2 MB, free: 7.797 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.01168, allocations: 0.504 MB / 282.7 MB, free: 7.281 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.815e-05/0.01177, allocations: 61.67 kB / 282.8 MB, free: 7.215 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.01193, allocations: 290.1 kB / 283.1 MB, free: 6.844 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.01213, allocations: 229.8 kB / 283.3 MB, free: 6.566 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01213, allocations: 0 / 283.3 MB, free: 6.566 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004087/0.01254, allocations: 328.4 kB / 283.6 MB, free: 6.223 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.01257, allocations: 36.52 kB / 283.7 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.01258, allocations: 0 / 283.7 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003189/0.0129, allocations: 83.61 kB / 283.7 MB, free: 6.098 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.01301, allocations: 51.94 kB / 283.8 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.01447, allocations: 2.236 MB / 286 MB, free: 3.684 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.01463, allocations: 51.8 kB / 286.1 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.01465, allocations: 8 kB / 286.1 MB, free: 3.625 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.0001194/0.01477, allocations: 180.4 kB / 286.3 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.0148, allocations: 31.91 kB / 286.3 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.264e-05/0.01483, allocations: 38.03 kB / 286.3 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.01483, allocations: 0 / 286.3 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.01484, allocations: 0 / 286.3 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.01484, allocations: 0 / 286.3 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.01501, allocations: 232.3 kB / 286.6 MB, free: 3.105 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.01501, allocations: 8.25 kB / 286.6 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.107e-05/0.01506, allocations: 19.98 kB / 286.6 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002146/0.01528, allocations: 75.61 kB / 286.7 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.01529, allocations: 4 kB / 286.7 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/0.01656, allocations: 2.229 MB / 288.9 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.01656, allocations: 0 / 288.9 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.01685, allocations: 215.8 kB / 289.1 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.0169, allocations: 39.83 kB / 289.1 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.01692, allocations: 7.984 kB / 289.2 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.305e-05/0.01701, allocations: 19.98 kB / 289.2 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.16e-05/0.01708, allocations: 27.95 kB / 289.2 MB, free: 320 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.01709, allocations: 4 kB / 289.2 MB, free: 316 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001219/0.01721, allocations: 209.1 kB / 289.4 MB, free: 108 kB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01721, allocations: 4 kB / 289.4 MB, free: 104 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002974/0.01751, allocations: 87.78 kB / 289.5 MB, free: 16 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 0.0001217/0.01763, allocations: 111.2 kB / 289.6 MB, free: 15.9 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004178/0.01805, allocations: 393.4 kB / 290 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01805, allocations: 0 / 290 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.01827, allocations: 254.6 kB / 290.2 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.0185, allocations: 61.08 kB / 290.3 MB, free: 15.15 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.01965, allocations: 0.5065 MB / 290.8 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.401e-05/0.0197, allocations: 92.25 kB / 290.9 MB, free: 14.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.896e-05/0.01978, allocations: 26.28 kB / 290.9 MB, free: 14.47 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.01984, allocations: 28.5 kB / 290.9 MB, free: 14.45 MB / 282.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01984, allocations: 0 / 290.9 MB, free: 14.45 MB / 282.7 MB Notification: Performance of Templates: time 0.00644/0.02628, allocations: 4.408 MB / 295.4 MB, free: 10.11 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.957148809917271]