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.0007746/0.0007746, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001078/0.001078, allocations: 161.4 kB / 24.91 MB, free: 8.719 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.9272/0.9272, allocations: 177 MB / 205.2 MB, free: 5.031 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.142e-06/1.142e-06, allocations: 0 / 273.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.273e-05/1.388e-05, allocations: 5.266 kB / 273.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.002617/0.002631, allocations: 2.931 MB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009056/0.003536, allocations: 0.7476 MB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.003647, allocations: 7.938 kB / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.003773, allocations: 55.44 kB / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.003924, allocations: 111.1 kB / 277.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.00413, allocations: 107.8 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002897/0.00442, allocations: 426.1 kB / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.004551, allocations: 90.3 kB / 277.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.004726, allocations: 235.5 kB / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.004863, allocations: 139.6 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.533e-05/0.004908, allocations: 40 kB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.43e-05/0.004942, allocations: 40 kB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.018e-05/0.004992, allocations: 83.69 kB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.552e-05/0.005078, allocations: 131.7 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.005301, allocations: 267 kB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.005302, allocations: 0 / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.005303, allocations: 0 / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.005306, allocations: 0 / 278.8 MB, free: 11.59 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.0005938/0.0059, allocations: 0.5688 MB / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.005929, allocations: 15.98 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.307e-05/0.005982, allocations: 40.91 kB / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.006175, allocations: 197.2 kB / 279.6 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.006191, allocations: 24.97 kB / 279.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.006217, allocations: 28.38 kB / 279.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.006449, allocations: 272.4 kB / 279.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.006457, allocations: 192 / 279.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.006474, allocations: 12.38 kB / 280 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.006482, allocations: 15.91 kB / 280 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.785e-05/0.00657, allocations: 68.56 kB / 280 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008204/0.00739, allocations: 0.7401 MB / 280.8 MB, free: 9.496 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.007537, allocations: 106.4 kB / 280.9 MB, free: 9.383 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.634e-05/0.007573, allocations: 33.11 kB / 280.9 MB, free: 9.348 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.00759, allocations: 11.88 kB / 280.9 MB, free: 9.336 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001386/0.007728, allocations: 195.9 kB / 281.1 MB, free: 9.102 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.022e-06/0.007729, allocations: 4 kB / 281.1 MB, free: 9.098 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004503/0.00818, allocations: 229.2 kB / 281.3 MB, free: 8.867 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.008226, allocations: 140.5 kB / 281.5 MB, free: 8.699 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.008354, allocations: 241 kB / 281.7 MB, free: 8.449 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.008369, allocations: 29.64 kB / 281.7 MB, free: 8.414 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.843e-05/0.008437, allocations: 192.4 kB / 281.9 MB, free: 8.223 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.008464, allocations: 59.52 kB / 282 MB, free: 8.164 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.008519, allocations: 57.67 kB / 282 MB, free: 8.102 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.062e-05/0.008589, allocations: 330.8 kB / 282.4 MB, free: 7.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.341e-05/0.008633, allocations: 53.62 kB / 282.4 MB, free: 7.711 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.008735, allocations: 243.6 kB / 282.7 MB, free: 7.402 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.008859, allocations: 175.7 kB / 282.8 MB, free: 7.188 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.008862, allocations: 4 kB / 282.8 MB, free: 7.184 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002429/0.009105, allocations: 269 kB / 283.1 MB, free: 6.902 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.009127, allocations: 33.7 kB / 283.1 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.009131, allocations: 0 / 283.1 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002146/0.009346, allocations: 80.81 kB / 283.2 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.436e-05/0.00943, allocations: 43.91 kB / 283.3 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008665/0.0103, allocations: 1.541 MB / 284.8 MB, free: 5.102 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.01042, allocations: 47.8 kB / 284.8 MB, free: 5.055 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.01043, allocations: 8 kB / 284.8 MB, free: 5.047 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 7.808e-05/0.01051, allocations: 133.8 kB / 285 MB, free: 4.906 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.01053, allocations: 23.92 kB / 285 MB, free: 4.883 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/0.01055, allocations: 30.11 kB / 285 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.71e-07/0.01055, allocations: 0 / 285 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.01056, allocations: 0 / 285 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.01056, allocations: 7.938 kB / 285 MB, free: 4.844 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.01066, allocations: 157.7 kB / 285.2 MB, free: 4.672 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.01066, allocations: 0 / 285.2 MB, free: 4.672 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.85e-05/0.0107, allocations: 15.98 kB / 285.2 MB, free: 4.656 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001727/0.01087, allocations: 76.78 kB / 285.3 MB, free: 4.578 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.01088, allocations: 7.938 kB / 285.3 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00071/0.01159, allocations: 1.514 MB / 286.8 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.01159, allocations: 3.984 kB / 286.8 MB, free: 2.965 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.01177, allocations: 165.7 kB / 287 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/0.01179, allocations: 23.73 kB / 287 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.01181, allocations: 8 kB / 287 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.511e-05/0.01188, allocations: 23.97 kB / 287 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.01192, allocations: 23.95 kB / 287 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.01193, allocations: 4 kB / 287.1 MB, free: 2.699 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.598e-05/0.01199, allocations: 86.72 kB / 287.1 MB, free: 2.613 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01199, allocations: 0 / 287.1 MB, free: 2.613 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002172/0.0122, allocations: 87.89 kB / 287.2 MB, free: 2.527 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 6.706e-05/0.01227, allocations: 84.28 kB / 287.3 MB, free: 2.438 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003256/0.0126, allocations: 323.4 kB / 287.6 MB, free: 2.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.0126, allocations: 7.938 kB / 287.6 MB, free: 2.082 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.01273, allocations: 190.7 kB / 287.8 MB, free: 1.883 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.01286, allocations: 52.62 kB / 287.9 MB, free: 1.832 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007704/0.01364, allocations: 0.5204 MB / 288.4 MB, free: 1.285 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.567e-05/0.01368, allocations: 84.31 kB / 288.5 MB, free: 1.184 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.242e-05/0.01374, allocations: 26.28 kB / 288.5 MB, free: 1.156 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.01386, allocations: 99.34 kB / 288.6 MB, free: 1.059 MB / 266.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01386, allocations: 0 / 288.6 MB, free: 1.059 MB / 266.7 MB Notification: Performance of Templates: time 0.09654/0.1104, allocations: 4.549 MB / 293.1 MB, free: 25.41 MB / 266.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.55605754815042]