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.001314/0.001315, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001425/0.001425, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 59.78 kB / 306.3 MB, free: 1.039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1143, allocations: 50.53 MB / 356.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004976/0.1194, allocations: 3.001 MB / 359.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.121, allocations: 0.7674 MB / 360.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001814/0.1212, allocations: 4 kB / 360.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.1214, allocations: 31.7 kB / 360.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.1216, allocations: 83.38 kB / 360.7 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.1219, allocations: 99.91 kB / 360.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003899/0.1223, allocations: 394.4 kB / 361.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002365/0.1226, allocations: 111.8 kB / 361.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.1227, allocations: 135.4 kB / 361.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.1229, allocations: 159.2 kB / 361.6 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.633e-05/0.123, allocations: 24 kB / 361.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.222e-05/0.1231, allocations: 20 kB / 361.6 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.577e-05/0.1232, allocations: 63.75 kB / 361.7 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.1233, allocations: 163.1 kB / 361.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004118/0.1238, allocations: 430.8 kB / 362.3 MB, free: 9.035 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1238, allocations: 0 / 362.3 MB, free: 9.035 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.1238, allocations: 0 / 362.3 MB, free: 9.035 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.1238, allocations: 0 / 362.3 MB, free: 9.035 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.001385/0.1252, allocations: 0.6847 MB / 362.9 MB, free: 8.289 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.1252, allocations: 11.97 kB / 362.9 MB, free: 8.277 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.818e-05/0.1253, allocations: 32.56 kB / 363 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.1257, allocations: 291.6 kB / 363.3 MB, free: 7.922 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.1257, allocations: 24.92 kB / 363.3 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/0.1258, allocations: 24.38 kB / 363.3 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007604/0.1266, allocations: 331.9 kB / 363.6 MB, free: 7.543 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1266, allocations: 0 / 363.6 MB, free: 7.543 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.1266, allocations: 8 kB / 363.6 MB, free: 7.535 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.1266, allocations: 8 kB / 363.7 MB, free: 7.527 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008411/0.1275, allocations: 286 kB / 363.9 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.1294, allocations: 1.154 MB / 365.1 MB, free: 6.008 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008493/0.1303, allocations: 254.5 kB / 365.3 MB, free: 5.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000344/0.1307, allocations: 104.8 kB / 365.4 MB, free: 5.645 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.1307, allocations: 3.984 kB / 365.4 MB, free: 5.641 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005797/0.1313, allocations: 181.9 kB / 365.6 MB, free: 5.441 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.754e-06/0.1313, allocations: 224 / 365.6 MB, free: 5.441 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002392/0.1337, allocations: 0.6667 MB / 366.3 MB, free: 4.746 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.1338, allocations: 106.8 kB / 366.4 MB, free: 4.617 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.1341, allocations: 286.6 kB / 366.7 MB, free: 4.328 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.483e-05/0.1341, allocations: 33.7 kB / 366.7 MB, free: 4.289 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.1343, allocations: 203.5 kB / 366.9 MB, free: 4.086 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.1343, allocations: 43.45 kB / 366.9 MB, free: 4.043 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.271e-05/0.1344, allocations: 49.84 kB / 367 MB, free: 3.984 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1346, allocations: 338.8 kB / 367.3 MB, free: 3.645 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003766/0.1349, allocations: 108.1 kB / 367.4 MB, free: 3.539 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004311/0.1354, allocations: 213.3 kB / 367.6 MB, free: 3.285 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007204/0.1361, allocations: 327.7 kB / 368 MB, free: 2.922 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1361, allocations: 0 / 368 MB, free: 2.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001245/0.1374, allocations: 475.7 kB / 368.4 MB, free: 2.441 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/0.1374, allocations: 33.7 kB / 368.5 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.1374, allocations: 4 kB / 368.5 MB, free: 2.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000356/0.1378, allocations: 88.86 kB / 368.5 MB, free: 2.309 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.138, allocations: 51.89 kB / 368.6 MB, free: 2.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002699/0.1407, allocations: 1.877 MB / 370.5 MB, free: 244 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003257/0.1411, allocations: 51.75 kB / 370.5 MB, free: 192 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.1411, allocations: 11.98 kB / 370.5 MB, free: 180 kB / 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.0001666/0.1413, allocations: 157.7 kB / 370.7 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1739/0.3152, allocations: 25.52 kB / 370.7 MB, free: 20.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.3154, allocations: 23.75 kB / 370.7 MB, free: 20.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.3154, allocations: 2.844 kB / 370.7 MB, free: 20.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3154, allocations: 0.5938 kB / 370.7 MB, free: 20.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3154, allocations: 0.6562 kB / 370.7 MB, free: 20.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000488/0.3159, allocations: 323.5 kB / 371.1 MB, free: 20.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.3159, allocations: 0.75 kB / 371.1 MB, free: 20.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.3162, allocations: 24.5 kB / 371.1 MB, free: 20.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000421/0.3166, allocations: 86 kB / 371.2 MB, free: 20.78 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.3167, allocations: 6.578 kB / 371.2 MB, free: 20.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002479/0.3191, allocations: 1.782 MB / 373 MB, free: 19.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3192, allocations: 1.344 kB / 373 MB, free: 19.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.3203, allocations: 369.1 kB / 373.3 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.328e-05/0.3204, allocations: 98.03 kB / 373.4 MB, free: 19.19 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.393e-05/0.3205, allocations: 11.08 kB / 373.4 MB, free: 19.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.3207, allocations: 34.12 kB / 373.5 MB, free: 19.19 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.704e-05/0.3208, allocations: 19.44 kB / 373.5 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.3208, allocations: 4.109 kB / 373.5 MB, free: 19.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002461/0.3211, allocations: 212.2 kB / 373.7 MB, free: 19.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3211, allocations: 0 / 373.7 MB, free: 19.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006156/0.3217, allocations: 76.48 kB / 373.8 MB, free: 19.06 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.0001326/0.3219, allocations: 112.1 kB / 373.9 MB, free: 18.97 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.3232, allocations: 0.4914 MB / 374.4 MB, free: 18.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3232, allocations: 0 / 374.4 MB, free: 18.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004635/0.3237, allocations: 241.8 kB / 374.6 MB, free: 18.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.3241, allocations: 41.34 kB / 374.6 MB, free: 18.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/0.3273, allocations: 1.027 MB / 375.7 MB, free: 18.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.3275, allocations: 0.7581 MB / 376.4 MB, free: 17.51 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001409/0.3277, allocations: 25.58 kB / 376.4 MB, free: 17.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.17e-05/0.3277, allocations: 20.47 kB / 376.5 MB, free: 17.5 MB / 302.1 MB Notification: Performance of SimCode: time 1.483e-06/0.3277, allocations: 0 / 376.5 MB, free: 17.5 MB / 302.1 MB Notification: Performance of Templates: time 0.00862/0.3364, allocations: 3.756 MB / 380.2 MB, free: 17.27 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