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.001043/0.001043, allocations: 95.23 kB / 16.94 MB, free: 5.98 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.000936/0.0009362, allocations: 178.8 kB / 17.82 MB, free: 5.652 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.874/1.874, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004982/0.0004986, allocations: 23.44 kB / 280.8 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1313, allocations: 47.57 MB / 328.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.003153/0.1345, allocations: 2.198 MB / 330.5 MB, free: 1.875 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.136, allocations: 0.6987 MB / 331.2 MB, free: 1.168 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.1361, allocations: 3.938 kB / 331.2 MB, free: 1.164 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.949e-05/0.1362, allocations: 35.75 kB / 331.3 MB, free: 1.129 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002457/0.1365, allocations: 103.7 kB / 331.4 MB, free: 1.027 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.1367, allocations: 67.86 kB / 331.4 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.137, allocations: 227.5 kB / 331.7 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.1372, allocations: 69.08 kB / 331.7 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.1374, allocations: 107.6 kB / 331.8 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.1376, allocations: 139.4 kB / 332 MB, free: 444 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.707e-05/0.1376, allocations: 12 kB / 332 MB, free: 432 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.12e-05/0.1377, allocations: 16 kB / 332 MB, free: 416 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.402e-05/0.1377, allocations: 47.81 kB / 332 MB, free: 368 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.535e-05/0.1378, allocations: 69.58 kB / 332.1 MB, free: 292 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.138, allocations: 235.6 kB / 332.3 MB, free: 56 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1381, allocations: 0 / 332.3 MB, free: 56 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1381, allocations: 0 / 332.3 MB, free: 56 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1381, allocations: 0 / 332.3 MB, free: 56 kB / 270.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.00128/0.1394, allocations: 0.6106 MB / 333 MB, free: 15.38 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1394, allocations: 8.031 kB / 333 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.883e-05/0.1395, allocations: 35.62 kB / 333 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.1398, allocations: 270.3 kB / 333.3 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.1399, allocations: 16.42 kB / 333.3 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/0.1399, allocations: 27.94 kB / 333.3 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006166/0.1406, allocations: 251.2 kB / 333.5 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.247e-05/0.1406, allocations: 0 / 333.5 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.1406, allocations: 15.98 kB / 333.6 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.1407, allocations: 4 kB / 333.6 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000782/0.1414, allocations: 293.5 kB / 333.9 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.1432, allocations: 0.8816 MB / 334.7 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008656/0.1441, allocations: 266.6 kB / 335 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.1442, allocations: 4 kB / 335 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005339/0.1447, allocations: 193.8 kB / 335.2 MB, free: 13 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.854e-06/0.1447, allocations: 0 / 335.2 MB, free: 13 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.002168/0.1469, allocations: 0.7061 MB / 335.9 MB, free: 12.27 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.147, allocations: 110.8 kB / 336 MB, free: 12.13 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.1473, allocations: 266.5 kB / 336.3 MB, free: 11.86 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.1474, allocations: 33.7 kB / 336.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.1475, allocations: 171.8 kB / 336.5 MB, free: 11.65 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.1476, allocations: 43.45 kB / 336.5 MB, free: 11.61 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.354e-05/0.1476, allocations: 7.938 kB / 336.5 MB, free: 11.6 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1477, allocations: 330.8 kB / 336.8 MB, free: 11.27 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/0.1481, allocations: 111.9 kB / 336.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003648/0.1484, allocations: 185.3 kB / 337.1 MB, free: 10.95 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/0.1488, allocations: 149.6 kB / 337.3 MB, free: 10.79 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1488, allocations: 0 / 337.3 MB, free: 10.79 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001128/0.15, allocations: 478.5 kB / 337.7 MB, free: 10.31 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004047/0.1504, allocations: 0.8151 MB / 338.6 MB, free: 9.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.1504, allocations: 4 kB / 338.6 MB, free: 9.426 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003383/0.1507, allocations: 76.81 kB / 338.6 MB, free: 9.348 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.151, allocations: 47.89 kB / 338.7 MB, free: 9.301 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002589/0.1536, allocations: 1.85 MB / 340.5 MB, free: 7.312 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003362/0.1539, allocations: 55.75 kB / 340.6 MB, free: 7.258 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.1539, allocations: 11.98 kB / 340.6 MB, free: 7.246 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.154, allocations: 4 kB / 340.6 MB, free: 7.242 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007615/0.1547, allocations: 338.3 kB / 340.9 MB, free: 6.902 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1547, allocations: 3.984 kB / 340.9 MB, free: 6.898 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.877e-05/0.1549, allocations: 36.84 kB / 341 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.1551, allocations: 55.92 kB / 341 MB, free: 6.805 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/0.1563, allocations: 1.542 MB / 342.6 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002874/0.1566, allocations: 47.84 kB / 342.6 MB, free: 5.082 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.1566, allocations: 11.98 kB / 342.6 MB, free: 5.07 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 ($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 (20): * Single equations (assignments): 18 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002252/0.1568, allocations: 228.8 kB / 342.8 MB, free: 4.836 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.1569, allocations: 23.72 kB / 342.9 MB, free: 4.812 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.791e-05/0.1569, allocations: 25.83 kB / 342.9 MB, free: 4.789 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1569, allocations: 0 / 342.9 MB, free: 4.789 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.175e-06/0.1569, allocations: 4 kB / 342.9 MB, free: 4.785 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.157, allocations: 0 / 342.9 MB, free: 4.785 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.1572, allocations: 297.3 kB / 343.2 MB, free: 4.445 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1573, allocations: 0 / 343.2 MB, free: 4.445 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.1574, allocations: 31.97 kB / 343.2 MB, free: 4.414 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002149/0.1576, allocations: 72.75 kB / 343.3 MB, free: 4.34 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.1576, allocations: 7.984 kB / 343.3 MB, free: 4.332 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/0.1596, allocations: 1.76 MB / 345.1 MB, free: 2.438 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1597, allocations: 3.953 kB / 345.1 MB, free: 2.434 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008953/0.1606, allocations: 373.5 kB / 345.4 MB, free: 2.047 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.1607, allocations: 104.8 kB / 345.5 MB, free: 1.926 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.1607, allocations: 0 / 345.5 MB, free: 1.926 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.161, allocations: 43.97 kB / 345.6 MB, free: 1.883 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.112e-05/0.1611, allocations: 19.97 kB / 345.6 MB, free: 1.863 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.1611, allocations: 4 kB / 345.6 MB, free: 1.859 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002012/0.1613, allocations: 186 kB / 345.8 MB, free: 1.676 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1613, allocations: 3.938 kB / 345.8 MB, free: 1.672 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006407/0.1619, allocations: 127.7 kB / 345.9 MB, free: 1.547 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 (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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001687/0.1621, allocations: 107.9 kB / 346 MB, free: 1.434 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.1637, allocations: 0.8039 MB / 346.8 MB, free: 0.582 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1637, allocations: 0 / 346.8 MB, free: 0.582 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004725/0.1642, allocations: 251.1 kB / 347.1 MB, free: 332 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.1645, allocations: 44.44 kB / 347.1 MB, free: 288 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.1667, allocations: 0.8887 MB / 348 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.167, allocations: 0.7599 MB / 348.8 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001318/0.1672, allocations: 26.28 kB / 348.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.1672, allocations: 15.44 kB / 348.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of SimCode: time 4.198e-06/0.1673, allocations: 4 kB / 348.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of Templates: time 0.007747/0.175, allocations: 3.726 MB / 352.5 MB, free: 10.82 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmp/NonInvertingAmp.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches