Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.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.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 96.72 kB / 16.95 MB, free: 6.887 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.001136/0.001136, allocations: 184.3 kB / 17.84 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.032/2.032, allocations: 205.4 MB / 224 MB, free: 13.08 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.0005025/0.0005025, allocations: 16 kB / 280.8 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1345, allocations: 47.58 MB / 328.3 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002118/0.1367, allocations: 1.192 MB / 329.5 MB, free: 2.875 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.1387, allocations: 0.8482 MB / 330.4 MB, free: 2.02 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.699e-05/0.1388, allocations: 0 / 330.4 MB, free: 2.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.344e-05/0.1389, allocations: 11.92 kB / 330.4 MB, free: 2.008 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.496e-05/0.139, allocations: 15.92 kB / 330.4 MB, free: 1.992 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.1393, allocations: 35.89 kB / 330.5 MB, free: 1.957 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.1395, allocations: 103.8 kB / 330.6 MB, free: 1.855 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1396, allocations: 12.23 kB / 330.6 MB, free: 1.84 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006536/0.1403, allocations: 491.1 kB / 331 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.1404, allocations: 79.81 kB / 331.1 MB, free: 1.281 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.1405, allocations: 4 kB / 331.1 MB, free: 1.277 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.334e-05/0.1405, allocations: 0 / 331.1 MB, free: 1.277 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.462e-05/0.1406, allocations: 71.77 kB / 331.2 MB, free: 1.207 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.268e-05/0.1407, allocations: 69.52 kB / 331.3 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.141, allocations: 299.3 kB / 331.6 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.141, allocations: 0 / 331.6 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.141, allocations: 0 / 331.6 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.141, allocations: 3.938 kB / 331.6 MB, free: 0.8359 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008402/0.1419, allocations: 0.6568 MB / 332.2 MB, free: 108 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.1419, allocations: 12.02 kB / 332.2 MB, free: 96 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.098e-05/0.142, allocations: 35.62 kB / 332.3 MB, free: 60 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.1424, allocations: 257.4 kB / 332.5 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.1424, allocations: 8 kB / 332.5 MB, free: 15.76 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.1425, allocations: 12 kB / 332.5 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.1428, allocations: 125.6 kB / 332.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1428, allocations: 0 / 332.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.1428, allocations: 11.92 kB / 332.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1429, allocations: 0 / 332.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.143, allocations: 55.97 kB / 332.7 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007669/0.1438, allocations: 472.5 kB / 333.2 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.144, allocations: 102.5 kB / 333.3 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.1442, allocations: 80.89 kB / 333.4 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.1442, allocations: 0 / 333.4 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004185/0.1446, allocations: 210.7 kB / 333.6 MB, free: 14.62 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.1446, allocations: 0 / 333.6 MB, free: 14.62 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009222/0.1456, allocations: 483.9 kB / 334 MB, free: 14.11 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001743/0.1457, allocations: 170.2 kB / 334.2 MB, free: 13.91 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007579/0.1465, allocations: 0.5207 MB / 334.7 MB, free: 13.38 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.1466, allocations: 29.7 kB / 334.8 MB, free: 13.35 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.836e-05/0.1466, allocations: 105 kB / 334.9 MB, free: 13.24 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.747e-05/0.1467, allocations: 31.64 kB / 334.9 MB, free: 13.21 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.441e-05/0.1467, allocations: 0 / 334.9 MB, free: 13.21 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1469, allocations: 326.8 kB / 335.2 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.1471, allocations: 56.08 kB / 335.3 MB, free: 12.83 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.1472, allocations: 77.62 kB / 335.3 MB, free: 12.75 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.1474, allocations: 170.7 kB / 335.5 MB, free: 12.55 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1474, allocations: 0 / 335.5 MB, free: 12.55 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006212/0.1481, allocations: 376.3 kB / 335.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.1482, allocations: 130.8 kB / 336 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.1482, allocations: 32 / 336 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.1482, allocations: 8 kB / 336 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.832e-05/0.1483, allocations: 3.938 kB / 336 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1483, allocations: 0 / 336 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.1485, allocations: 15.98 kB / 336 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.543e-05/0.1486, allocations: 59.89 kB / 336.1 MB, free: 11.92 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.nXFERGATE.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003985/0.149, allocations: 354.8 kB / 336.4 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.806e-05/0.1491, allocations: 39.53 kB / 336.5 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.1492, allocations: 75.14 kB / 336.5 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.1492, allocations: 0 / 336.5 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.1492, allocations: 0 / 336.5 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1492, allocations: 0 / 336.5 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.1503, allocations: 0.8134 MB / 337.4 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1503, allocations: 0 / 337.4 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.345e-06/0.1504, allocations: 4 kB / 337.4 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1504, allocations: 3.984 kB / 337.4 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.333e-05/0.1504, allocations: 12 kB / 337.4 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1504, allocations: 4 kB / 337.4 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1504, allocations: 4.188 kB / 337.4 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006961/0.1511, allocations: 0.5329 MB / 337.9 MB, free: 9.922 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003269/0.1515, allocations: 244.6 kB / 338.2 MB, free: 9.664 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.6e-05/0.1515, allocations: 16 kB / 338.2 MB, free: 9.648 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.1517, allocations: 11.98 kB / 338.2 MB, free: 9.637 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.1518, allocations: 27.97 kB / 338.2 MB, free: 9.609 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.934e-05/0.1519, allocations: 55.94 kB / 338.3 MB, free: 9.555 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0005103/0.1524, allocations: 394.8 kB / 338.7 MB, free: 9.172 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1524, allocations: 3.938 kB / 338.7 MB, free: 9.168 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003112/0.1527, allocations: 47.89 kB / 338.7 MB, free: 9.121 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: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002078/0.153, allocations: 115.2 kB / 338.8 MB, free: 9 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006763/0.1537, allocations: 437.9 kB / 339.2 MB, free: 8.523 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/0.1537, allocations: 0 / 339.2 MB, free: 8.523 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003825/0.1541, allocations: 381.4 kB / 339.6 MB, free: 8.102 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006174/0.1547, allocations: 105.5 kB / 339.7 MB, free: 7.996 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.1559, allocations: 0.7387 MB / 340.5 MB, free: 7.234 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005746/0.1565, allocations: 0.7946 MB / 341.3 MB, free: 6.414 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.303e-05/0.1566, allocations: 12.64 kB / 341.3 MB, free: 6.402 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.1566, allocations: 11.44 kB / 341.3 MB, free: 6.391 MB / 286.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1566, allocations: 0 / 341.3 MB, free: 6.391 MB / 286.1 MB Notification: Performance of Templates: time 0.008195/0.1648, allocations: 4.057 MB / 345.3 MB, free: 2.246 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches