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.001599/0.001599, allocations: 94.67 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.002091/0.002091, allocations: 178.5 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.863/1.863, 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.0008256/0.0008257, allocations: 12.62 kB / 280.7 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1403, allocations: 47.58 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001899/0.1423, allocations: 1.186 MB / 329.5 MB, free: 2.902 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002432/0.1447, allocations: 0.8553 MB / 330.4 MB, free: 2.039 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.324e-05/0.1448, allocations: 0 / 330.4 MB, free: 2.039 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.145, allocations: 3.938 kB / 330.4 MB, free: 2.035 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.1451, allocations: 15.97 kB / 330.4 MB, free: 2.02 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.1455, allocations: 39.89 kB / 330.4 MB, free: 1.98 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.1456, allocations: 71.8 kB / 330.5 MB, free: 1.91 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.1458, allocations: 16.22 kB / 330.5 MB, free: 1.891 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005526/0.1464, allocations: 427.2 kB / 330.9 MB, free: 1.473 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.1466, allocations: 75.81 kB / 331 MB, free: 1.398 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.1466, allocations: 0 / 331 MB, free: 1.398 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.849e-05/0.1466, allocations: 4 kB / 331 MB, free: 1.395 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.413e-05/0.1467, allocations: 59.83 kB / 331.1 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.929e-05/0.1468, allocations: 73.52 kB / 331.1 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003303/0.1472, allocations: 295.3 kB / 331.4 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1472, allocations: 0 / 331.4 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1472, allocations: 4 kB / 331.4 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.1472, allocations: 0 / 331.4 MB, free: 0.9648 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.0009147/0.1481, allocations: 0.6607 MB / 332.1 MB, free: 236 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.1482, allocations: 12.03 kB / 332.1 MB, free: 224 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.251e-05/0.1483, allocations: 35.56 kB / 332.1 MB, free: 188 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.1486, allocations: 257.3 kB / 332.4 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.1487, allocations: 8 kB / 332.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.1487, allocations: 12 kB / 332.4 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/0.149, allocations: 133.5 kB / 332.5 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1491, allocations: 0 / 332.5 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.1491, allocations: 4 kB / 332.5 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1491, allocations: 0 / 332.5 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.1492, allocations: 59.97 kB / 332.6 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008104/0.1501, allocations: 472.4 kB / 333.1 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.1503, allocations: 90.55 kB / 333.1 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.1503, allocations: 4 kB / 333.2 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000358/0.1507, allocations: 210.7 kB / 333.4 MB, free: 14.83 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.724e-06/0.1507, allocations: 0 / 333.4 MB, free: 14.83 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008608/0.1515, allocations: 0.6349 MB / 334 MB, free: 14.12 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.1516, allocations: 170.2 kB / 334.2 MB, free: 13.92 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006325/0.1523, allocations: 0.509 MB / 334.7 MB, free: 13.41 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.1523, allocations: 33.7 kB / 334.7 MB, free: 13.37 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/0.1524, allocations: 101 kB / 334.8 MB, free: 13.27 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.1525, allocations: 27.66 kB / 334.8 MB, free: 13.24 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.344e-05/0.1525, allocations: 0 / 334.8 MB, free: 13.24 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1526, allocations: 326.8 kB / 335.1 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.1527, allocations: 63.91 kB / 335.2 MB, free: 12.85 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.1529, allocations: 81.67 kB / 335.3 MB, free: 12.76 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.1531, allocations: 158.8 kB / 335.4 MB, free: 12.58 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1531, allocations: 0 / 335.4 MB, free: 12.58 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005494/0.1536, allocations: 384.3 kB / 335.8 MB, free: 12.18 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.1537, allocations: 126.8 kB / 335.9 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1538, allocations: 3.938 kB / 335.9 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.1538, allocations: 4 kB / 336 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.546e-05/0.1538, allocations: 0 / 336 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.1538, allocations: 0 / 336 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.154, allocations: 20.02 kB / 336 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.218e-05/0.1541, allocations: 56.05 kB / 336 MB, free: 11.95 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.0003684/0.1545, allocations: 362.7 kB / 336.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.1545, allocations: 43.53 kB / 336.4 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.1546, allocations: 63.14 kB / 336.5 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1546, allocations: 7.984 kB / 336.5 MB, free: 11.44 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1547, allocations: 0 / 336.5 MB, free: 11.44 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1547, allocations: 0 / 336.5 MB, free: 11.44 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.1558, allocations: 0.8216 MB / 337.3 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1558, allocations: 0 / 337.3 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.771e-06/0.1558, allocations: 0 / 337.3 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1558, allocations: 4 kB / 337.3 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.1558, allocations: 8 kB / 337.3 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1559, allocations: 0 / 337.3 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1559, allocations: 4 kB / 337.3 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007789/0.1566, allocations: 0.5447 MB / 337.9 MB, free: 9.934 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004211/0.1571, allocations: 244.5 kB / 338.1 MB, free: 9.676 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.06e-05/0.1572, allocations: 12 kB / 338.1 MB, free: 9.664 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.1573, allocations: 16.17 kB / 338.1 MB, free: 9.648 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.1575, allocations: 27.97 kB / 338.2 MB, free: 9.621 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.474e-05/0.1576, allocations: 63.92 kB / 338.2 MB, free: 9.559 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0005712/0.1582, allocations: 382.9 kB / 338.6 MB, free: 9.188 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1582, allocations: 0 / 338.6 MB, free: 9.188 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003361/0.1585, allocations: 47.94 kB / 338.6 MB, free: 9.141 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.0002602/0.1588, allocations: 119.2 kB / 338.8 MB, free: 9.016 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006548/0.1595, allocations: 433.5 kB / 339.2 MB, free: 8.543 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.1595, allocations: 0 / 339.2 MB, free: 8.543 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004352/0.1599, allocations: 381.5 kB / 339.6 MB, free: 8.121 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006784/0.1606, allocations: 93.45 kB / 339.7 MB, free: 8.027 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.162, allocations: 0.7349 MB / 340.4 MB, free: 7.27 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000625/0.1627, allocations: 0.818 MB / 341.2 MB, free: 6.426 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.666e-05/0.1627, allocations: 8.656 kB / 341.2 MB, free: 6.418 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.1628, allocations: 7.438 kB / 341.2 MB, free: 6.41 MB / 286.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1628, allocations: 4 kB / 341.2 MB, free: 6.406 MB / 286.1 MB Notification: Performance of Templates: time 0.008649/0.1714, allocations: 4.051 MB / 345.3 MB, free: 2.27 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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