Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001352, allocations: 106.2 kB / 18.24 MB, free: 4.77 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.001378/0.001378, allocations: 195.3 kB / 19.18 MB, free: 3.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.1 MB / 225 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001406, allocations: 56.14 kB / 281.3 MB, free: 3.18 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1127, allocations: 46.63 MB / 328 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.004534/0.1173, allocations: 2.704 MB / 330.7 MB, free: 1.742 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.1188, allocations: 0.7098 MB / 331.4 MB, free: 1.023 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002423/0.1191, allocations: 4 kB / 331.4 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.1193, allocations: 47.56 kB / 331.4 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.1196, allocations: 87.25 kB / 331.5 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.1199, allocations: 95.81 kB / 331.6 MB, free: 0.793 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004445/0.1204, allocations: 350.6 kB / 331.9 MB, free: 460 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.1206, allocations: 80.7 kB / 332 MB, free: 384 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.1208, allocations: 135.4 kB / 332.2 MB, free: 248 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.1211, allocations: 155.3 kB / 332.3 MB, free: 92 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.252e-05/0.1211, allocations: 28 kB / 332.3 MB, free: 64 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.046e-05/0.1212, allocations: 32 kB / 332.4 MB, free: 32 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.441e-05/0.1213, allocations: 59.7 kB / 332.4 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.1215, allocations: 147.3 kB / 332.6 MB, free: 15.83 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003458/0.1218, allocations: 315.2 kB / 332.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1218, allocations: 0 / 332.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.1219, allocations: 0 / 332.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.1219, allocations: 7.938 kB / 332.9 MB, free: 15.51 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001332/0.1232, allocations: 0.6418 MB / 333.5 MB, free: 14.81 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1233, allocations: 8.031 kB / 333.5 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.322e-05/0.1234, allocations: 28.66 kB / 333.6 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/0.1237, allocations: 283.2 kB / 333.8 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.1237, allocations: 12.81 kB / 333.9 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/0.1238, allocations: 24.38 kB / 333.9 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006362/0.1244, allocations: 243.5 kB / 334.1 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1244, allocations: 7.984 kB / 334.1 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.11e-05/0.1245, allocations: 12 kB / 334.1 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1245, allocations: 4 kB / 334.1 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007796/0.1253, allocations: 249.5 kB / 334.4 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.1268, allocations: 0.8697 MB / 335.3 MB, free: 12.97 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007523/0.1276, allocations: 226.5 kB / 335.5 MB, free: 12.74 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.1279, allocations: 104.8 kB / 335.6 MB, free: 12.64 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.1279, allocations: 0 / 335.6 MB, free: 12.64 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004953/0.1284, allocations: 177.8 kB / 335.7 MB, free: 12.44 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.1284, allocations: 0 / 335.7 MB, free: 12.44 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.00208/0.1305, allocations: 0.5925 MB / 336.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.545e-05/0.1306, allocations: 114.8 kB / 336.5 MB, free: 11.68 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.1309, allocations: 266.6 kB / 336.7 MB, free: 11.41 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.131, allocations: 25.7 kB / 336.7 MB, free: 11.38 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.1311, allocations: 179.8 kB / 336.9 MB, free: 11.2 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.1311, allocations: 51.28 kB / 337 MB, free: 11.15 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.369e-05/0.1312, allocations: 41.7 kB / 337 MB, free: 11.11 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1314, allocations: 334.8 kB / 337.3 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.1317, allocations: 100.8 kB / 337.4 MB, free: 10.67 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003719/0.1321, allocations: 169.4 kB / 337.6 MB, free: 10.47 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006372/0.1327, allocations: 268.5 kB / 337.9 MB, free: 10.18 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1328, allocations: 0 / 337.9 MB, free: 10.18 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00113/0.1339, allocations: 435.5 kB / 338.3 MB, free: 9.734 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/0.1339, allocations: 33.7 kB / 338.3 MB, free: 9.695 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.134, allocations: 4 kB / 338.3 MB, free: 9.691 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005352/0.1345, allocations: 112.8 kB / 338.4 MB, free: 9.578 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.1347, allocations: 39.91 kB / 338.5 MB, free: 9.539 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/0.1372, allocations: 1.939 MB / 340.4 MB, free: 7.457 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003285/0.1375, allocations: 47.81 kB / 340.5 MB, free: 7.41 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.1376, allocations: 12 kB / 340.5 MB, free: 7.398 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003673/0.1379, allocations: 180.1 kB / 340.6 MB, free: 7.219 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003243/0.1383, allocations: 161.8 kB / 340.8 MB, free: 7.027 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000557/0.1388, allocations: 245.2 kB / 341 MB, free: 6.754 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.026e-06/0.1388, allocations: 4 kB / 341 MB, free: 6.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0008065/0.1397, allocations: 350.5 kB / 341.4 MB, free: 6.395 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.254e-05/0.1397, allocations: 37.94 kB / 341.4 MB, free: 6.352 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1397, allocations: 4 kB / 341.4 MB, free: 6.348 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001432/0.1399, allocations: 44.83 kB / 341.5 MB, free: 6.301 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.1401, allocations: 39.91 kB / 341.5 MB, free: 6.262 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/0.1416, allocations: 1.713 MB / 343.2 MB, free: 4.414 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.1419, allocations: 55.86 kB / 343.3 MB, free: 4.359 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.142, allocations: 4 kB / 343.3 MB, free: 4.355 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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 0.0001743/0.1421, allocations: 204.1 kB / 343.5 MB, free: 4.148 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/0.1422, allocations: 23.72 kB / 343.5 MB, free: 4.125 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.582e-05/0.1423, allocations: 21.83 kB / 343.5 MB, free: 4.105 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.1423, allocations: 11.94 kB / 343.5 MB, free: 4.094 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.1423, allocations: 0 / 343.5 MB, free: 4.094 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1423, allocations: 0 / 343.5 MB, free: 4.094 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.1426, allocations: 297.3 kB / 343.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1427, allocations: 4 kB / 343.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.1428, allocations: 19.97 kB / 343.9 MB, free: 3.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002338/0.143, allocations: 76.73 kB / 343.9 MB, free: 3.652 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.1431, allocations: 0 / 343.9 MB, free: 3.652 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/0.1452, allocations: 1.869 MB / 345.8 MB, free: 1.641 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.1452, allocations: 0 / 345.8 MB, free: 1.641 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008807/0.1461, allocations: 326 kB / 346.1 MB, free: 1.301 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.1462, allocations: 104.8 kB / 346.2 MB, free: 1.18 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.1463, allocations: 7.938 kB / 346.2 MB, free: 1.172 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.1465, allocations: 31.97 kB / 346.3 MB, free: 1.141 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.105e-05/0.1466, allocations: 19.97 kB / 346.3 MB, free: 1.121 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.1466, allocations: 8 kB / 346.3 MB, free: 1.113 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002129/0.1468, allocations: 190 kB / 346.5 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1468, allocations: 0 / 346.5 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006593/0.1475, allocations: 123.7 kB / 346.6 MB, free: 0.8086 MB / 286.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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002078/0.1477, allocations: 111.4 kB / 346.7 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001706/0.1494, allocations: 0.734 MB / 347.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.1495, allocations: 4 kB / 347.4 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004767/0.1499, allocations: 235.5 kB / 347.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.1503, allocations: 44.47 kB / 347.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.1525, allocations: 0.7282 MB / 348.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.1528, allocations: 0.7483 MB / 349.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.911e-05/0.1529, allocations: 23.38 kB / 349.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1529, allocations: 0 / 349.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of Templates: time 0.007851/0.1607, allocations: 4.206 MB / 353.4 MB, free: 9.848 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmp/NonInvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches