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.001018/0.001018, allocations: 93.45 kB / 16.3 MB, free: 5.996 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.000981/0.0009809, allocations: 183.5 kB / 17.2 MB, free: 5.914 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.445/1.445, allocations: 223.2 MB / 241.1 MB, free: 5.461 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002795/0.0002797, allocations: 10.41 kB / 300.7 MB, free: 5.984 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1163, allocations: 50.42 MB / 351.1 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.002674/0.119, allocations: 2.389 MB / 353.5 MB, free: 9.363 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009845/0.12, allocations: 0.7174 MB / 354.3 MB, free: 8.641 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.1202, allocations: 7.938 kB / 354.3 MB, free: 8.633 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.737e-05/0.1202, allocations: 31.75 kB / 354.3 MB, free: 8.602 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.1205, allocations: 107.6 kB / 354.4 MB, free: 8.496 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.1207, allocations: 75.84 kB / 354.5 MB, free: 8.422 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002958/0.121, allocations: 259.5 kB / 354.7 MB, free: 8.168 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.1212, allocations: 93.8 kB / 354.8 MB, free: 8.074 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.1214, allocations: 127.5 kB / 354.9 MB, free: 7.949 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.1215, allocations: 139.4 kB / 355.1 MB, free: 7.812 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.1216, allocations: 20 kB / 355.1 MB, free: 7.793 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.999e-05/0.1216, allocations: 16 kB / 355.1 MB, free: 7.777 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.058e-05/0.1217, allocations: 55.75 kB / 355.2 MB, free: 7.723 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.924e-05/0.1217, allocations: 85.5 kB / 355.3 MB, free: 7.633 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.122, allocations: 339 kB / 355.6 MB, free: 7.301 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.122, allocations: 0 / 355.6 MB, free: 7.301 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.122, allocations: 0 / 355.6 MB, free: 7.301 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.122, allocations: 4 kB / 355.6 MB, free: 7.297 MB / 286.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.001171/0.1232, allocations: 0.6496 MB / 356.2 MB, free: 6.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.1233, allocations: 11.97 kB / 356.2 MB, free: 6.578 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.364e-05/0.1234, allocations: 35.62 kB / 356.3 MB, free: 6.543 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.1237, allocations: 282.5 kB / 356.6 MB, free: 6.227 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.1237, allocations: 20.56 kB / 356.6 MB, free: 6.207 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.864e-05/0.1238, allocations: 27.98 kB / 356.6 MB, free: 6.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006627/0.1245, allocations: 335.6 kB / 356.9 MB, free: 5.844 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.1245, allocations: 4 kB / 356.9 MB, free: 5.84 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.1245, allocations: 11.95 kB / 356.9 MB, free: 5.828 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.1245, allocations: 8 kB / 357 MB, free: 5.82 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007767/0.1253, allocations: 314.1 kB / 357.3 MB, free: 5.512 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001808/0.1271, allocations: 1.178 MB / 358.4 MB, free: 4.254 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008237/0.128, allocations: 286.5 kB / 358.7 MB, free: 3.965 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.128, allocations: 3.984 kB / 358.7 MB, free: 3.961 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004978/0.1285, allocations: 193.9 kB / 358.9 MB, free: 3.75 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 3.056e-06/0.1285, allocations: 3.984 kB / 358.9 MB, free: 3.746 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.002362/0.1309, allocations: 0.7371 MB / 359.7 MB, free: 2.98 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/0.131, allocations: 106.8 kB / 359.8 MB, free: 2.852 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.1313, allocations: 282.7 kB / 360 MB, free: 2.562 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.1313, allocations: 33.7 kB / 360.1 MB, free: 2.523 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.1315, allocations: 203.5 kB / 360.3 MB, free: 2.32 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.1316, allocations: 43.45 kB / 360.3 MB, free: 2.277 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/0.1316, allocations: 4 kB / 360.3 MB, free: 2.273 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1317, allocations: 330.8 kB / 360.6 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003583/0.1321, allocations: 128.1 kB / 360.8 MB, free: 1.812 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004156/0.1325, allocations: 217.5 kB / 361 MB, free: 1.555 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003839/0.1329, allocations: 165.5 kB / 361.1 MB, free: 1.387 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.1329, allocations: 7.938 kB / 361.1 MB, free: 1.379 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001251/0.1342, allocations: 0.5099 MB / 361.7 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.359e-05/0.1342, allocations: 33.7 kB / 361.7 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.1343, allocations: 4 kB / 361.7 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003969/0.1347, allocations: 92.86 kB / 361.8 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.1349, allocations: 55.91 kB / 361.8 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002926/0.1378, allocations: 1.936 MB / 363.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000417/0.1383, allocations: 59.66 kB / 363.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.1383, allocations: 12 kB / 363.8 MB, free: 14.52 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002212/0.1385, allocations: 153.8 kB / 364 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.1386, allocations: 31.64 kB / 364 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.802e-05/0.1386, allocations: 21.84 kB / 364 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1387, allocations: 4 kB / 364 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.1387, allocations: 3.984 kB / 364.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.1387, allocations: 0 / 364.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003601/0.139, allocations: 333.2 kB / 364.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1391, allocations: 0 / 364.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.1392, allocations: 35.91 kB / 364.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003054/0.1395, allocations: 88.97 kB / 364.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.1396, allocations: 4 kB / 364.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002376/0.1419, allocations: 1.842 MB / 366.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.142, allocations: 0 / 366.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.143, allocations: 412.2 kB / 366.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.963e-05/0.1431, allocations: 108.7 kB / 366.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.1432, allocations: 8 kB / 366.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.1434, allocations: 31.97 kB / 366.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.238e-05/0.1435, allocations: 27.97 kB / 366.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.1436, allocations: 7.984 kB / 366.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001954/0.1438, allocations: 198 kB / 367.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1438, allocations: 0 / 367.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004475/0.1442, allocations: 79.84 kB / 367.2 MB, free: 10.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001634/0.1444, allocations: 103.2 kB / 367.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.1458, allocations: 0.529 MB / 367.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1458, allocations: 0 / 367.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004905/0.1463, allocations: 259.1 kB / 368.1 MB, free: 10 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.1466, allocations: 44.48 kB / 368.1 MB, free: 9.957 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003136/0.1497, allocations: 1.092 MB / 369.2 MB, free: 8.832 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.1501, allocations: 0.7599 MB / 370 MB, free: 8.047 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000134/0.1502, allocations: 30.45 kB / 370 MB, free: 8.016 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.125e-05/0.1503, allocations: 23.44 kB / 370 MB, free: 7.992 MB / 302.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1503, allocations: 0 / 370 MB, free: 7.992 MB / 302.1 MB Notification: Performance of Templates: time 0.007074/0.1574, allocations: 3.595 MB / 373.6 MB, free: 4.438 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","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches