Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001032/0.001032, allocations: 99.02 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001271/0.001272, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 227.7 MB / 246.4 MB, free: 9.82 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003808, allocations: 12 kB / 307.1 MB, free: 0.9727 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1192, allocations: 51.51 MB / 358.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001711/0.121, allocations: 1.21 MB / 359.8 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.1229, allocations: 0.8465 MB / 360.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.681e-05/0.123, allocations: 4 kB / 360.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.853e-05/0.1231, allocations: 3.984 kB / 360.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.754e-05/0.1232, allocations: 11.88 kB / 360.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.1235, allocations: 35.94 kB / 360.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.1236, allocations: 103.7 kB / 360.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1238, allocations: 16.22 kB / 360.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006587/0.1244, allocations: 495.1 kB / 361.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.1246, allocations: 75.83 kB / 361.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.1246, allocations: 4 kB / 361.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.775e-05/0.1247, allocations: 4 kB / 361.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.1248, allocations: 63.75 kB / 361.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.305e-05/0.1249, allocations: 77.52 kB / 361.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.1252, allocations: 295.3 kB / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.1252, allocations: 0 / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1252, allocations: 0 / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.1252, allocations: 0 / 361.8 MB, free: 10.21 MB / 302.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.0007006/0.1259, allocations: 0.653 MB / 362.5 MB, free: 9.484 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.126, allocations: 11.97 kB / 362.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.822e-05/0.126, allocations: 39.53 kB / 362.5 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.1263, allocations: 265.3 kB / 362.8 MB, free: 9.133 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.1264, allocations: 4 kB / 362.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.1264, allocations: 19.89 kB / 362.8 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.1267, allocations: 129.6 kB / 363 MB, free: 8.977 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.1267, allocations: 0 / 363 MB, free: 8.977 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.1267, allocations: 4 kB / 363 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1268, allocations: 0 / 363 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.1269, allocations: 55.97 kB / 363 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006308/0.1275, allocations: 464.7 kB / 363.5 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.1277, allocations: 102.5 kB / 363.6 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.1279, allocations: 80.89 kB / 363.6 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.1279, allocations: 0 / 363.6 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003194/0.1282, allocations: 218.5 kB / 363.9 MB, free: 7.984 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.1282, allocations: 0 / 363.9 MB, free: 7.984 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007481/0.129, allocations: 472 kB / 364.3 MB, free: 7.492 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.77e-05/0.1291, allocations: 166.2 kB / 364.5 MB, free: 7.293 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005713/0.1297, allocations: 0.5168 MB / 365 MB, free: 6.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.1297, allocations: 29.7 kB / 365 MB, free: 6.734 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.1298, allocations: 105 kB / 365.1 MB, free: 6.629 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.1298, allocations: 35.62 kB / 365.2 MB, free: 6.594 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.512e-05/0.1298, allocations: 4 kB / 365.2 MB, free: 6.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1299, allocations: 322.8 kB / 365.5 MB, free: 6.266 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.1301, allocations: 55.97 kB / 365.5 MB, free: 6.211 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.1302, allocations: 80.36 kB / 365.6 MB, free: 6.129 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.1304, allocations: 166.4 kB / 365.8 MB, free: 5.945 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1304, allocations: 0 / 365.8 MB, free: 5.945 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004813/0.1309, allocations: 392.2 kB / 366.2 MB, free: 5.531 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.81e-05/0.131, allocations: 122.8 kB / 366.3 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.131, allocations: 4 kB / 366.3 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.131, allocations: 0 / 366.3 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.06e-05/0.131, allocations: 112 / 366.3 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.131, allocations: 11.95 kB / 366.3 MB, free: 5.371 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.1312, allocations: 15.91 kB / 366.3 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.058e-05/0.1313, allocations: 55.94 kB / 366.4 MB, free: 5.301 MB / 302.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.0003456/0.1316, allocations: 370.7 kB / 366.7 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.1317, allocations: 35.62 kB / 366.8 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.1318, allocations: 67.14 kB / 366.8 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.1318, allocations: 0 / 366.8 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1318, allocations: 0 / 366.8 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1318, allocations: 4 kB / 366.8 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009292/0.1327, allocations: 0.8136 MB / 367.7 MB, free: 3.898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1328, allocations: 4 kB / 367.7 MB, free: 3.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-06/0.1328, allocations: 0 / 367.7 MB, free: 3.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1328, allocations: 0 / 367.7 MB, free: 3.895 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/0.1328, allocations: 23.92 kB / 367.7 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.1328, allocations: 0 / 367.7 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1328, allocations: 0 / 367.7 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006335/0.1335, allocations: 0.5445 MB / 368.2 MB, free: 3.285 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002819/0.1337, allocations: 244.5 kB / 368.5 MB, free: 3.027 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.58e-05/0.1338, allocations: 12 kB / 368.5 MB, free: 3.016 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.1339, allocations: 8 kB / 368.5 MB, free: 3.008 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.1341, allocations: 27.97 kB / 368.5 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.373e-05/0.1341, allocations: 59.92 kB / 368.6 MB, free: 2.922 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004312/0.1346, allocations: 386.9 kB / 368.9 MB, free: 2.543 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1346, allocations: 0 / 368.9 MB, free: 2.543 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.1349, allocations: 51.91 kB / 369 MB, free: 2.492 MB / 302.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.0001395/0.135, allocations: 118.9 kB / 369.1 MB, free: 2.367 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005029/0.1355, allocations: 445.5 kB / 369.5 MB, free: 1.883 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1355, allocations: 0 / 369.5 MB, free: 1.883 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003302/0.1359, allocations: 373.6 kB / 369.9 MB, free: 1.469 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005299/0.1364, allocations: 111.3 kB / 370 MB, free: 1.367 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.1375, allocations: 0.731 MB / 370.8 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1706/0.3081, allocations: 0.7969 MB / 371.5 MB, free: 19.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.3083, allocations: 8.094 kB / 371.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/0.3083, allocations: 10.28 kB / 371.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of SimCode: time 1.322e-06/0.3083, allocations: 0.6875 kB / 371.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of Templates: time 0.009016/0.3174, allocations: 4.059 MB / 375.6 MB, free: 19.25 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches