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.001519/0.001519, allocations: 104.4 kB / 18.35 MB, free: 4.645 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.001869/0.001869, allocations: 191 kB / 19.29 MB, free: 3.715 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.545/1.545, allocations: 205.1 MB / 225.2 MB, free: 12.28 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.001252/0.001252, allocations: 55.92 kB / 282.1 MB, free: 2.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1176, allocations: 46.63 MB / 328.7 MB, free: 3.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.004951/0.1226, allocations: 2.711 MB / 331.5 MB, free: 1.051 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.1242, allocations: 0.7059 MB / 332.2 MB, free: 344 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002053/0.1245, allocations: 8 kB / 332.2 MB, free: 336 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.1247, allocations: 39.58 kB / 332.2 MB, free: 296 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.1249, allocations: 91.25 kB / 332.3 MB, free: 204 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.1253, allocations: 99.8 kB / 332.4 MB, free: 104 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004718/0.1258, allocations: 354.5 kB / 332.7 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002408/0.126, allocations: 84.69 kB / 332.8 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.1262, allocations: 135.4 kB / 333 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.1264, allocations: 147.4 kB / 333.1 MB, free: 15.4 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.374e-05/0.1265, allocations: 28 kB / 333.1 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.792e-05/0.1265, allocations: 32 kB / 333.2 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.184e-05/0.1266, allocations: 63.69 kB / 333.2 MB, free: 15.28 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.1268, allocations: 147.3 kB / 333.4 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003589/0.1272, allocations: 322.8 kB / 333.7 MB, free: 14.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1272, allocations: 0 / 333.7 MB, free: 14.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1272, allocations: 0 / 333.7 MB, free: 14.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.1272, allocations: 4 kB / 333.7 MB, free: 14.81 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.001322/0.1285, allocations: 0.634 MB / 334.3 MB, free: 14.12 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1286, allocations: 8.031 kB / 334.3 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.659e-05/0.1287, allocations: 28.66 kB / 334.4 MB, free: 14.09 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004847/0.1292, allocations: 291.4 kB / 334.6 MB, free: 13.76 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.1292, allocations: 12.81 kB / 334.6 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.1292, allocations: 20.38 kB / 334.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006402/0.1299, allocations: 247.5 kB / 334.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1299, allocations: 0 / 334.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.1299, allocations: 11.98 kB / 334.9 MB, free: 13.47 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.13, allocations: 8 kB / 334.9 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007399/0.1307, allocations: 249.6 kB / 335.2 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.1323, allocations: 0.8657 MB / 336 MB, free: 12.28 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007298/0.1331, allocations: 226.5 kB / 336.3 MB, free: 12.05 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002772/0.1333, allocations: 100.8 kB / 336.4 MB, free: 11.95 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.1334, allocations: 4 kB / 336.4 MB, free: 11.95 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004386/0.1338, allocations: 181.7 kB / 336.5 MB, free: 11.75 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.1338, allocations: 0 / 336.5 MB, free: 11.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.001917/0.1358, allocations: 0.5887 MB / 337.1 MB, free: 11.13 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/0.1359, allocations: 110.8 kB / 337.2 MB, free: 11 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/0.1362, allocations: 262.6 kB / 337.5 MB, free: 10.73 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.1362, allocations: 29.7 kB / 337.5 MB, free: 10.7 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.1364, allocations: 183.8 kB / 337.7 MB, free: 10.51 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/0.1364, allocations: 43.36 kB / 337.7 MB, free: 10.47 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-05/0.1365, allocations: 45.7 kB / 337.8 MB, free: 10.42 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1366, allocations: 338.8 kB / 338.1 MB, free: 10.08 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.137, allocations: 96.78 kB / 338.2 MB, free: 9.98 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/0.1373, allocations: 169.4 kB / 338.4 MB, free: 9.781 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000589/0.1379, allocations: 276.3 kB / 338.6 MB, free: 9.48 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.1379, allocations: 0 / 338.6 MB, free: 9.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001028/0.1389, allocations: 427.5 kB / 339.1 MB, free: 9.047 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.999e-05/0.139, allocations: 33.7 kB / 339.1 MB, free: 9.008 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.139, allocations: 0 / 339.1 MB, free: 9.008 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004828/0.1395, allocations: 116.8 kB / 339.2 MB, free: 8.891 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.1397, allocations: 39.91 kB / 339.3 MB, free: 8.852 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002366/0.1421, allocations: 1.931 MB / 341.2 MB, free: 6.777 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003497/0.1424, allocations: 47.78 kB / 341.2 MB, free: 6.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.7e-05/0.1425, allocations: 20.16 kB / 341.3 MB, free: 6.711 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003491/0.1428, allocations: 180.1 kB / 341.4 MB, free: 6.531 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000302/0.1432, allocations: 165.8 kB / 341.6 MB, free: 6.336 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000498/0.1437, allocations: 253.2 kB / 341.8 MB, free: 6.055 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.024e-06/0.1437, allocations: 0 / 341.8 MB, free: 6.055 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0007636/0.1444, allocations: 351 kB / 342.2 MB, free: 5.699 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.1445, allocations: 33.7 kB / 342.2 MB, free: 5.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1445, allocations: 4 kB / 342.2 MB, free: 5.656 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001569/0.1447, allocations: 44.83 kB / 342.3 MB, free: 5.609 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.1449, allocations: 39.91 kB / 342.3 MB, free: 5.57 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.1465, allocations: 1.717 MB / 344 MB, free: 3.719 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/0.1468, allocations: 43.88 kB / 344.1 MB, free: 3.676 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.1468, allocations: 8 kB / 344.1 MB, free: 3.668 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.0002238/0.1471, allocations: 204.1 kB / 344.3 MB, free: 3.461 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.1471, allocations: 27.7 kB / 344.3 MB, free: 3.434 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.228e-05/0.1472, allocations: 17.84 kB / 344.3 MB, free: 3.418 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1472, allocations: 4 kB / 344.3 MB, free: 3.414 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1472, allocations: 4.188 kB / 344.3 MB, free: 3.41 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.1472, allocations: 3.984 kB / 344.3 MB, free: 3.406 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.1475, allocations: 297.3 kB / 344.6 MB, free: 3.066 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1475, allocations: 0 / 344.6 MB, free: 3.066 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.1477, allocations: 27.91 kB / 344.6 MB, free: 3.039 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002259/0.1479, allocations: 68.75 kB / 344.7 MB, free: 2.969 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.148, allocations: 4 kB / 344.7 MB, free: 2.965 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001969/0.1499, allocations: 1.873 MB / 346.6 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.15, allocations: 0 / 346.6 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008006/0.1508, allocations: 326.2 kB / 346.9 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.148e-05/0.1508, allocations: 100.8 kB / 347 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.964e-05/0.1509, allocations: 11.92 kB / 347 MB, free: 492 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.1511, allocations: 27.97 kB / 347 MB, free: 464 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.763e-05/0.1512, allocations: 27.97 kB / 347.1 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.1512, allocations: 4 kB / 347.1 MB, free: 432 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001958/0.1514, allocations: 190 kB / 347.3 MB, free: 244 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1515, allocations: 0 / 347.3 MB, free: 244 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006396/0.1521, allocations: 123.7 kB / 347.4 MB, free: 120 kB / 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.0001695/0.1523, allocations: 107.2 kB / 347.5 MB, free: 4 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.1539, allocations: 0.7306 MB / 348.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.1539, allocations: 0 / 348.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004292/0.1543, allocations: 242.9 kB / 348.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.1546, allocations: 44.53 kB / 348.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.1566, allocations: 0.6875 MB / 349.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.1569, allocations: 0.7522 MB / 349.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.1571, allocations: 26.28 kB / 350 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.1571, allocations: 19.44 kB / 350 MB, free: 13.39 MB / 302.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1571, allocations: 4 kB / 350 MB, free: 13.39 MB / 302.1 MB Notification: Performance of Templates: time 0.008835/0.166, allocations: 4.226 MB / 354.2 MB, free: 9.164 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 -s gbode -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