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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 120.2 kB / 21.94 MB, free: 28 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 208.8 kB / 25.24 MB, free: 3.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,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=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 54.59 kB / 348.4 MB, free: 9.535 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.271, allocations: 49.16 MB / 397.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002643/0.2736, allocations: 1.515 MB / 399.1 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.2755, allocations: 0.9078 MB / 400 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.2755, allocations: 5.031 kB / 400 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.2756, allocations: 12.23 kB / 400 MB, free: 7.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.372e-05/0.2757, allocations: 14.98 kB / 400.1 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.276, allocations: 57.53 kB / 400.1 MB, free: 7.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.2762, allocations: 124.2 kB / 400.2 MB, free: 7.719 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.2763, allocations: 15.38 kB / 400.2 MB, free: 7.707 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007789/0.2771, allocations: 0.578 MB / 400.8 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.2772, allocations: 80.5 kB / 400.9 MB, free: 7.621 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.427e-05/0.2773, allocations: 17.98 kB / 400.9 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.019e-05/0.2773, allocations: 8.969 kB / 400.9 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.171e-05/0.2774, allocations: 62.95 kB / 401 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.2775, allocations: 115.5 kB / 401.1 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004651/0.278, allocations: 372.9 kB / 401.5 MB, free: 7.395 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.278, allocations: 1.438 kB / 401.5 MB, free: 7.395 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.278, allocations: 0 / 401.5 MB, free: 7.395 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.278, allocations: 0 / 401.5 MB, free: 7.395 MB / 318.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.0007096/0.2787, allocations: 0.6524 MB / 402.1 MB, free: 6.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.2787, allocations: 16.7 kB / 402.1 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.045e-05/0.2788, allocations: 38.48 kB / 402.2 MB, free: 6.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.2791, allocations: 223.8 kB / 402.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.2791, allocations: 3.969 kB / 402.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.2791, allocations: 12.72 kB / 402.4 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.2794, allocations: 126.3 kB / 402.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.2794, allocations: 2.109 kB / 402.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.2795, allocations: 2.844 kB / 402.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.2795, allocations: 1.375 kB / 402.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.2796, allocations: 58.08 kB / 402.6 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006513/0.2803, allocations: 442.1 kB / 403 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.2804, allocations: 70.83 kB / 403.1 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.2806, allocations: 66.64 kB / 403.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.2806, allocations: 1.062 kB / 403.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003827/0.281, allocations: 212.5 kB / 403.4 MB, free: 5.973 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.281, allocations: 1.25 kB / 403.4 MB, free: 5.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008471/0.2818, allocations: 469.2 kB / 403.8 MB, free: 5.727 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/0.2819, allocations: 166.9 kB / 404 MB, free: 5.535 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006797/0.2826, allocations: 0.5168 MB / 404.5 MB, free: 5.246 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.2826, allocations: 28.92 kB / 404.5 MB, free: 5.215 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.756e-05/0.2827, allocations: 104.7 kB / 404.6 MB, free: 5.117 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.2827, allocations: 31.88 kB / 404.7 MB, free: 5.094 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.2828, allocations: 89.02 kB / 404.8 MB, free: 5.043 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.529e-05/0.2829, allocations: 325.6 kB / 405.1 MB, free: 4.723 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.283, allocations: 55.12 kB / 405.1 MB, free: 4.707 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.2831, allocations: 78.06 kB / 405.2 MB, free: 4.668 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.2834, allocations: 341.5 kB / 405.5 MB, free: 4.355 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.2834, allocations: 5.625 kB / 405.5 MB, free: 4.352 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004949/0.2839, allocations: 387.8 kB / 405.9 MB, free: 4.125 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.204e-05/0.284, allocations: 124.1 kB / 406 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.284, allocations: 0 / 406 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.284, allocations: 1.75 kB / 406 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.081e-05/0.284, allocations: 1.344 kB / 406 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.284, allocations: 1.25 kB / 406.1 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.2842, allocations: 19.06 kB / 406.1 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.485e-05/0.2842, allocations: 57.09 kB / 406.1 MB, free: 3.984 MB / 318.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,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002926/0.2845, allocations: 368.4 kB / 406.5 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/0.2846, allocations: 43.44 kB / 406.5 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.2847, allocations: 64.77 kB / 406.6 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2847, allocations: 1.406 kB / 406.6 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.2847, allocations: 0.75 kB / 406.6 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2847, allocations: 0 / 406.6 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008931/0.2856, allocations: 0.7887 MB / 407.4 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2856, allocations: 0 / 407.4 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.47e-06/0.2856, allocations: 6.062 kB / 407.4 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.2856, allocations: 0.7031 kB / 407.4 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.2856, allocations: 25.64 kB / 407.4 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.2856, allocations: 0 / 407.4 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2856, allocations: 4.5 kB / 407.4 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000541/0.2862, allocations: 0.5243 MB / 407.9 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003608/0.2865, allocations: 216.7 kB / 408.2 MB, free: 2.586 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.525e-05/0.2866, allocations: 10.88 kB / 408.2 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.2867, allocations: 9.594 kB / 408.2 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.2868, allocations: 30.59 kB / 408.2 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.169e-05/0.2869, allocations: 66.33 kB / 408.3 MB, free: 2.559 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004355/0.2873, allocations: 386.7 kB / 408.6 MB, free: 2.355 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2873, allocations: 0 / 408.6 MB, free: 2.355 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002924/0.2876, allocations: 49.8 kB / 408.7 MB, free: 2.348 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001137/0.2877, allocations: 116.5 kB / 408.8 MB, free: 2.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004364/0.2882, allocations: 374.1 kB / 409.2 MB, free: 1.949 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2882, allocations: 0 / 409.2 MB, free: 1.949 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.2884, allocations: 309.2 kB / 409.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006122/0.289, allocations: 115.4 kB / 409.6 MB, free: 1.633 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.2901, allocations: 0.7032 MB / 410.3 MB, free: 1.199 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.2904, allocations: 0.8032 MB / 411.1 MB, free: 476 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.179e-05/0.2904, allocations: 11.16 kB / 411.1 MB, free: 468 kB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.2904, allocations: 0.875 kB / 411.1 MB, free: 468 kB / 318.1 MB Notification: Performance of Templates: time 0.004807/0.2952, allocations: 2.652 MB / 413.8 MB, free: 15.36 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.781963281100616]