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.001737/0.001737, allocations: 103.6 kB / 21.18 MB, free: 332 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.002176/0.002176, allocations: 212 kB / 24.47 MB, free: 3.547 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.519/1.519, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.001918/0.001918, allocations: 55.92 kB / 347.7 MB, free: 9.398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3324, allocations: 49.16 MB / 396.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.00288/0.3353, allocations: 1.458 MB / 398.3 MB, free: 8.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.3372, allocations: 0.8558 MB / 399.2 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.616e-05/0.3372, allocations: 0 / 399.2 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.558e-05/0.3373, allocations: 13.08 kB / 399.2 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.236e-05/0.3374, allocations: 18.91 kB / 399.2 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.3377, allocations: 47.73 kB / 399.2 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.3379, allocations: 137.3 kB / 399.4 MB, free: 7.715 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.924e-05/0.338, allocations: 16.09 kB / 399.4 MB, free: 7.707 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007293/0.3387, allocations: 0.5804 MB / 400 MB, free: 7.652 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.3389, allocations: 75.28 kB / 400 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.001e-05/0.3389, allocations: 8.031 kB / 400 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.035e-05/0.339, allocations: 9.906 kB / 400.1 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.997e-05/0.3391, allocations: 66.02 kB / 400.1 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.597e-05/0.3391, allocations: 81.03 kB / 400.2 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004526/0.3396, allocations: 373.7 kB / 400.6 MB, free: 7.438 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3396, allocations: 1.344 kB / 400.6 MB, free: 7.438 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3396, allocations: 0 / 400.6 MB, free: 7.438 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.3396, allocations: 4.688 kB / 400.6 MB, free: 7.434 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.0006693/0.3403, allocations: 0.651 MB / 401.2 MB, free: 6.859 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3403, allocations: 14.95 kB / 401.2 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.852e-05/0.3404, allocations: 42.48 kB / 401.3 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.3406, allocations: 218.8 kB / 401.5 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.3407, allocations: 12.5 kB / 401.5 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.3407, allocations: 6.812 kB / 401.5 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.341, allocations: 249.4 kB / 401.8 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.341, allocations: 0 / 401.8 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.3411, allocations: 6.391 kB / 401.8 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.3411, allocations: 6.062 kB / 401.8 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.3412, allocations: 176.2 kB / 401.9 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005918/0.3418, allocations: 391.4 kB / 402.3 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.342, allocations: 192 kB / 402.5 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.3422, allocations: 182.5 kB / 402.7 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.3422, allocations: 5.156 kB / 402.7 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000326/0.3425, allocations: 334.4 kB / 403 MB, free: 5.383 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.3425, allocations: 0 / 403 MB, free: 5.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008261/0.3434, allocations: 0.6973 MB / 403.7 MB, free: 4.863 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.3434, allocations: 168.4 kB / 403.9 MB, free: 4.672 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006356/0.3441, allocations: 0.5163 MB / 404.4 MB, free: 4.383 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.3441, allocations: 33.08 kB / 404.4 MB, free: 4.348 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.611e-05/0.3441, allocations: 100.5 kB / 404.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.3442, allocations: 35.58 kB / 404.6 MB, free: 4.227 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.954e-05/0.3443, allocations: 85.75 kB / 404.6 MB, free: 4.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.163e-05/0.3443, allocations: 330.3 kB / 405 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.3445, allocations: 174.3 kB / 405.1 MB, free: 3.707 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.3446, allocations: 194.5 kB / 405.3 MB, free: 3.539 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/0.345, allocations: 350.6 kB / 405.7 MB, free: 3.223 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.345, allocations: 0 / 405.7 MB, free: 3.223 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005365/0.3455, allocations: 0.5121 MB / 406.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.292e-05/0.3456, allocations: 123.5 kB / 406.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3456, allocations: 0 / 406.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3456, allocations: 1.094 kB / 406.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.079e-05/0.3456, allocations: 1.781 kB / 406.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3456, allocations: 1.156 kB / 406.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.3457, allocations: 10.48 kB / 406.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.372e-05/0.3458, allocations: 62.77 kB / 406.4 MB, free: 2.715 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.0003084/0.3461, allocations: 364.5 kB / 406.7 MB, free: 2.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.328e-05/0.3462, allocations: 47.33 kB / 406.8 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.3463, allocations: 64.27 kB / 406.8 MB, free: 2.344 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3463, allocations: 1.375 kB / 406.8 MB, free: 2.344 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3463, allocations: 0.75 kB / 406.8 MB, free: 2.344 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3463, allocations: 1.375 kB / 406.8 MB, free: 2.344 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009349/0.3472, allocations: 0.8635 MB / 407.7 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3473, allocations: 4.688 kB / 407.7 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.4e-06/0.3473, allocations: 1.375 kB / 407.7 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3473, allocations: 0 / 407.7 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.3473, allocations: 17.86 kB / 407.7 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3473, allocations: 4 kB / 407.7 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3473, allocations: 9.312 kB / 407.7 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006235/0.3479, allocations: 0.6605 MB / 408.4 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003917/0.3483, allocations: 212.5 kB / 408.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.054e-05/0.3484, allocations: 7.25 kB / 408.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.3485, allocations: 14.06 kB / 408.6 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.3487, allocations: 21.42 kB / 408.7 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.081e-05/0.3488, allocations: 62.72 kB / 408.7 MB, free: 1.051 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005664/0.3493, allocations: 387.3 kB / 409.1 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3493, allocations: 0 / 409.1 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003308/0.3497, allocations: 48.92 kB / 409.1 MB, free: 0.8359 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.0001262/0.3498, allocations: 117.7 kB / 409.3 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005328/0.3503, allocations: 0.6094 MB / 409.9 MB, free: 168 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3503, allocations: 1.062 kB / 409.9 MB, free: 168 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000407/0.3507, allocations: 422.3 kB / 410.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006575/0.3514, allocations: 110.9 kB / 410.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.3528, allocations: 0.7776 MB / 411.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.3532, allocations: 199.2 kB / 411.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.859e-05/0.3533, allocations: 5.938 kB / 411.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.3533, allocations: 15.67 kB / 411.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3533, allocations: 0 / 411.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of Templates: time 0.01138/0.3647, allocations: 5.079 MB / 416.5 MB, free: 12.62 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins/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: 4.8356435392051935]