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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001708/0.001708, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001671/0.001671, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 227.4 MB / 246.3 MB, free: 9.078 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 70.03 kB / 306.3 MB, free: 0.8008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1157, allocations: 50.53 MB / 356.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004254/0.12, allocations: 2.995 MB / 359.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.1214, allocations: 0.7636 MB / 360.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.1215, allocations: 7.938 kB / 360.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001594/0.1217, allocations: 31.77 kB / 360.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.1219, allocations: 83.38 kB / 360.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.1222, allocations: 103.8 kB / 360.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003585/0.1225, allocations: 390.4 kB / 361.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.1228, allocations: 119.8 kB / 361.3 MB, free: 9.773 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.1229, allocations: 131.4 kB / 361.4 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.1231, allocations: 163.2 kB / 361.6 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.01e-05/0.1232, allocations: 24 kB / 361.6 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.033e-05/0.1233, allocations: 20 kB / 361.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.008e-05/0.1233, allocations: 63.69 kB / 361.7 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.1235, allocations: 155.2 kB / 361.8 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003827/0.1239, allocations: 434.7 kB / 362.3 MB, free: 8.801 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1239, allocations: 4 kB / 362.3 MB, free: 8.797 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1239, allocations: 0 / 362.3 MB, free: 8.797 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1239, allocations: 4 kB / 362.3 MB, free: 8.793 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001262/0.1252, allocations: 0.6731 MB / 362.9 MB, free: 8.059 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1252, allocations: 12.03 kB / 362.9 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.244e-05/0.1253, allocations: 32.56 kB / 363 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.1257, allocations: 303.5 kB / 363.3 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.1257, allocations: 20.94 kB / 363.3 MB, free: 7.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/0.1258, allocations: 24.38 kB / 363.3 MB, free: 7.637 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007336/0.1265, allocations: 328 kB / 363.6 MB, free: 7.309 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.1265, allocations: 3.938 kB / 363.6 MB, free: 7.305 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.317e-05/0.1266, allocations: 8 kB / 363.6 MB, free: 7.297 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.577e-06/0.1266, allocations: 8 kB / 363.7 MB, free: 7.289 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008249/0.1274, allocations: 294 kB / 363.9 MB, free: 7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.1293, allocations: 1.139 MB / 365.1 MB, free: 5.777 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008743/0.1302, allocations: 258.5 kB / 365.3 MB, free: 5.516 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/0.1306, allocations: 108.8 kB / 365.4 MB, free: 5.406 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.1306, allocations: 0 / 365.4 MB, free: 5.406 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00055/0.1311, allocations: 185.8 kB / 365.6 MB, free: 5.203 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.1312, allocations: 0 / 365.6 MB, free: 5.203 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002381/0.1335, allocations: 0.6702 MB / 366.3 MB, free: 4.508 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.1336, allocations: 102.8 kB / 366.4 MB, free: 4.383 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.1339, allocations: 290.5 kB / 366.7 MB, free: 4.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.134, allocations: 33.7 kB / 366.7 MB, free: 4.051 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.1341, allocations: 195.6 kB / 366.9 MB, free: 3.855 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.869e-05/0.1342, allocations: 39.45 kB / 366.9 MB, free: 3.816 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.1343, allocations: 53.84 kB / 367 MB, free: 3.754 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1344, allocations: 338.8 kB / 367.3 MB, free: 3.414 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000356/0.1348, allocations: 108.1 kB / 367.4 MB, free: 3.309 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004289/0.1352, allocations: 210 kB / 367.6 MB, free: 3.059 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007321/0.136, allocations: 327.8 kB / 368 MB, free: 2.695 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.493e-06/0.136, allocations: 4 kB / 368 MB, free: 2.691 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00129/0.1373, allocations: 479.6 kB / 368.4 MB, free: 2.207 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.172e-05/0.1373, allocations: 37.69 kB / 368.5 MB, free: 2.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.1374, allocations: 4 kB / 368.5 MB, free: 2.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003747/0.1378, allocations: 84.88 kB / 368.6 MB, free: 2.074 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.138, allocations: 55.89 kB / 368.6 MB, free: 2.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002624/0.1406, allocations: 1.873 MB / 370.5 MB, free: 4 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1978/0.3384, allocations: 53.22 kB / 370.5 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.3385, allocations: 10.09 kB / 370.5 MB, free: 20 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (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 (24): * Single equations (assignments): 22 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002145/0.3387, allocations: 156.8 kB / 370.7 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.576e-05/0.3388, allocations: 22.81 kB / 370.7 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.635e-05/0.3388, allocations: 29.38 kB / 370.7 MB, free: 19.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.3389, allocations: 1 kB / 370.7 MB, free: 19.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3389, allocations: 4.969 kB / 370.7 MB, free: 19.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3389, allocations: 1.75 kB / 370.8 MB, free: 19.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003417/0.3392, allocations: 318.1 kB / 371.1 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3392, allocations: 1.531 kB / 371.1 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.3394, allocations: 22.64 kB / 371.1 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003475/0.3398, allocations: 84.28 kB / 371.2 MB, free: 19.69 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.3398, allocations: 5.484 kB / 371.2 MB, free: 19.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002231/0.342, allocations: 1.78 MB / 373 MB, free: 18.37 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.342, allocations: 1.656 kB / 373 MB, free: 18.37 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.3432, allocations: 367.5 kB / 373.3 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.492e-05/0.3433, allocations: 108.5 kB / 373.4 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.3433, allocations: 3.188 kB / 373.4 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/0.3436, allocations: 36.53 kB / 373.5 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.074e-05/0.3437, allocations: 19.19 kB / 373.5 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.3437, allocations: 7.203 kB / 373.5 MB, free: 18.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002156/0.3439, allocations: 204.1 kB / 373.7 MB, free: 18.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3439, allocations: 0 / 373.7 MB, free: 18.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004866/0.3444, allocations: 81.11 kB / 373.8 MB, free: 18.12 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001387/0.3445, allocations: 107 kB / 373.9 MB, free: 18.03 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.3461, allocations: 0.4987 MB / 374.4 MB, free: 17.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3461, allocations: 1.094 kB / 374.4 MB, free: 17.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005302/0.3466, allocations: 227.9 kB / 374.6 MB, free: 17.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.347, allocations: 48.12 kB / 374.6 MB, free: 17.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003193/0.3502, allocations: 1.032 MB / 375.7 MB, free: 17.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/0.3504, allocations: 0.7596 MB / 376.4 MB, free: 16.71 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.3506, allocations: 27.81 kB / 376.5 MB, free: 16.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.778e-05/0.3506, allocations: 23.08 kB / 376.5 MB, free: 16.7 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3506, allocations: 0 / 376.5 MB, free: 16.7 MB / 302.1 MB Notification: Performance of Templates: time 0.008255/0.3589, allocations: 3.754 MB / 380.2 MB, free: 16.49 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches