Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 92.23 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.00113, allocations: 174.7 kB / 17.56 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 223.3 MB / 241.6 MB, free: 224 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003548, allocations: 13.59 kB / 301.4 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1264, allocations: 50.41 MB / 351.8 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.003131/0.1296, allocations: 2.604 MB / 354.4 MB, free: 1.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.1309, allocations: 0.7169 MB / 355.2 MB, free: 356 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.1311, allocations: 4 kB / 355.2 MB, free: 352 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.1313, allocations: 43.69 kB / 355.2 MB, free: 308 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.1315, allocations: 87.38 kB / 355.3 MB, free: 220 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.1318, allocations: 99.91 kB / 355.4 MB, free: 120 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004254/0.1322, allocations: 386.5 kB / 355.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/0.1325, allocations: 103.8 kB / 355.9 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.1327, allocations: 139.3 kB / 356 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.1328, allocations: 139.4 kB / 356.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.242e-05/0.1329, allocations: 16 kB / 356.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.266e-05/0.133, allocations: 20 kB / 356.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.101e-05/0.133, allocations: 59.69 kB / 356.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.1332, allocations: 176.8 kB / 356.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003811/0.1336, allocations: 426.6 kB / 356.8 MB, free: 14.67 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1336, allocations: 0 / 356.8 MB, free: 14.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1336, allocations: 4 kB / 356.8 MB, free: 14.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1336, allocations: 0 / 356.8 MB, free: 14.66 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.00125/0.1349, allocations: 0.6391 MB / 357.5 MB, free: 13.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1349, allocations: 12.03 kB / 357.5 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.688e-05/0.135, allocations: 32.56 kB / 357.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.1354, allocations: 299.5 kB / 357.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.1355, allocations: 20.94 kB / 357.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/0.1355, allocations: 24.38 kB / 357.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007302/0.1363, allocations: 347.9 kB / 358.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1363, allocations: 0 / 358.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.1363, allocations: 8 kB / 358.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.1363, allocations: 11.94 kB / 358.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008434/0.1372, allocations: 314.1 kB / 358.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.1391, allocations: 1.178 MB / 359.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009057/0.1401, allocations: 282.5 kB / 360 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003597/0.1404, allocations: 124.7 kB / 360.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.1405, allocations: 0 / 360.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005462/0.141, allocations: 197.9 kB / 360.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.141, allocations: 0 / 360.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002638/0.1437, allocations: 0.748 MB / 361 MB, free: 10.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.1438, allocations: 110.8 kB / 361.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003809/0.1442, allocations: 286.6 kB / 361.4 MB, free: 9.797 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.1442, allocations: 25.7 kB / 361.4 MB, free: 9.766 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.1444, allocations: 203.5 kB / 361.6 MB, free: 9.562 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.1444, allocations: 43.45 kB / 361.7 MB, free: 9.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.394e-05/0.1445, allocations: 29.7 kB / 361.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1447, allocations: 334.8 kB / 362 MB, free: 9.148 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004102/0.1451, allocations: 120.2 kB / 362.2 MB, free: 9.027 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004464/0.1455, allocations: 230.1 kB / 362.4 MB, free: 8.758 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008018/0.1463, allocations: 340.6 kB / 362.7 MB, free: 8.379 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.1464, allocations: 8 kB / 362.7 MB, free: 8.371 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001361/0.1477, allocations: 0.5178 MB / 363.2 MB, free: 7.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/0.1478, allocations: 33.7 kB / 363.3 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.1478, allocations: 4 kB / 363.3 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004308/0.1482, allocations: 96.84 kB / 363.4 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.1485, allocations: 51.91 kB / 363.4 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003091/0.1516, allocations: 1.912 MB / 365.3 MB, free: 5.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003885/0.152, allocations: 67.7 kB / 365.4 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.152, allocations: 12 kB / 365.4 MB, free: 5.523 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.0002209/0.1523, allocations: 149.7 kB / 365.6 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.1523, allocations: 23.72 kB / 365.6 MB, free: 5.344 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.947e-05/0.1524, allocations: 25.83 kB / 365.6 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1524, allocations: 4 kB / 365.6 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.1524, allocations: 224 / 365.6 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.1524, allocations: 3.984 kB / 365.6 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/0.1527, allocations: 341.2 kB / 366 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1527, allocations: 4.125 kB / 366 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.1529, allocations: 27.97 kB / 366 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003074/0.1532, allocations: 84.8 kB / 366.1 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.1532, allocations: 4 kB / 366.1 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00242/0.1556, allocations: 1.818 MB / 367.9 MB, free: 2.855 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1557, allocations: 4.031 kB / 367.9 MB, free: 2.852 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.1568, allocations: 409.4 kB / 368.3 MB, free: 2.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.723e-05/0.1569, allocations: 100.8 kB / 368.4 MB, free: 2.312 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.157, allocations: 0 / 368.4 MB, free: 2.312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/0.1572, allocations: 47.89 kB / 368.4 MB, free: 2.266 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.539e-05/0.1573, allocations: 23.97 kB / 368.5 MB, free: 2.242 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.1574, allocations: 4 kB / 368.5 MB, free: 2.238 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002178/0.1576, allocations: 198 kB / 368.7 MB, free: 2.047 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1576, allocations: 0 / 368.7 MB, free: 2.047 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004438/0.158, allocations: 83.78 kB / 368.7 MB, free: 1.965 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.0001607/0.1582, allocations: 111.1 kB / 368.8 MB, free: 1.844 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.1597, allocations: 0.5253 MB / 369.4 MB, free: 1.293 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.1597, allocations: 0 / 369.4 MB, free: 1.293 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005502/0.1603, allocations: 263.1 kB / 369.6 MB, free: 1.023 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.1607, allocations: 47.33 kB / 369.7 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1959/0.3566, allocations: 1.113 MB / 370.8 MB, free: 24.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.357, allocations: 0.7544 MB / 371.5 MB, free: 24.05 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002307/0.3572, allocations: 28.64 kB / 371.6 MB, free: 24.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.397e-05/0.3573, allocations: 19.48 kB / 371.6 MB, free: 24.04 MB / 302.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3573, allocations: 1.969 kB / 371.6 MB, free: 24.04 MB / 302.1 MB Notification: Performance of Templates: time 0.01008/0.3674, allocations: 3.72 MB / 375.3 MB, free: 23.95 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches