Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.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.001742/0.001742, allocations: 113.6 kB / 21.19 MB, free: 0.7031 MB / 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.002124/0.002124, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.465/1.465, allocations: 207.6 MB / 235.3 MB, free: 9.996 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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) [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.001959/0.001959, allocations: 55.92 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.294, allocations: 49.16 MB / 396.3 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002556/0.2966, allocations: 1.519 MB / 397.9 MB, free: 7.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.2983, allocations: 0.9074 MB / 398.8 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.495e-05/0.2984, allocations: 1.062 kB / 398.8 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.455e-05/0.2985, allocations: 8.484 kB / 398.8 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.605e-05/0.2986, allocations: 22.81 kB / 398.8 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.2989, allocations: 51.5 kB / 398.9 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.2991, allocations: 130.9 kB / 399 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.2992, allocations: 19.22 kB / 399 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007758/0.3, allocations: 0.5721 MB / 399.6 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.3001, allocations: 82.19 kB / 399.6 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.508e-05/0.3002, allocations: 10.16 kB / 399.7 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.087e-05/0.3002, allocations: 8.719 kB / 399.7 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.462e-05/0.3003, allocations: 66.86 kB / 399.7 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.3004, allocations: 111.5 kB / 399.8 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005158/0.3009, allocations: 377 kB / 400.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3009, allocations: 5.188 kB / 400.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3009, allocations: 0 / 400.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.301, allocations: 0 / 400.2 MB, free: 6.895 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.0006653/0.3016, allocations: 0.6549 MB / 400.9 MB, free: 6.316 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3017, allocations: 14.22 kB / 400.9 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.984e-05/0.3017, allocations: 44.73 kB / 400.9 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.063e-05/0.3018, allocations: 39.91 kB / 401 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.302, allocations: 213.4 kB / 401.2 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.302, allocations: 5.125 kB / 401.2 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.302, allocations: 7.625 kB / 401.2 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.3023, allocations: 131.9 kB / 401.3 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.3023, allocations: 3.938 kB / 401.3 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.3024, allocations: 8.172 kB / 401.3 MB, free: 5.984 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.3024, allocations: 1.031 kB / 401.3 MB, free: 5.984 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.3025, allocations: 58.16 kB / 401.4 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006327/0.3032, allocations: 433.3 kB / 401.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.3033, allocations: 80.2 kB / 401.9 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.3034, allocations: 64.27 kB / 402 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.3034, allocations: 0 / 402 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003444/0.3038, allocations: 204.6 kB / 402.2 MB, free: 5.438 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.3038, allocations: 0 / 402.2 MB, free: 5.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007693/0.3046, allocations: 478.7 kB / 402.6 MB, free: 5.184 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.3046, allocations: 170.5 kB / 402.8 MB, free: 4.988 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006346/0.3052, allocations: 0.5225 MB / 403.3 MB, free: 4.695 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.3053, allocations: 27.64 kB / 403.3 MB, free: 4.664 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.65e-05/0.3053, allocations: 104.8 kB / 403.4 MB, free: 4.566 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.3054, allocations: 29.62 kB / 403.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.3055, allocations: 82.23 kB / 403.5 MB, free: 4.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.966e-05/0.3055, allocations: 328 kB / 403.9 MB, free: 4.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.3057, allocations: 53.88 kB / 403.9 MB, free: 4.164 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.3059, allocations: 83.28 kB / 404 MB, free: 4.121 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/0.3062, allocations: 339.7 kB / 404.3 MB, free: 3.809 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3062, allocations: 0 / 404.3 MB, free: 3.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005461/0.3067, allocations: 388.3 kB / 404.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.622e-05/0.3068, allocations: 124.2 kB / 404.8 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3068, allocations: 0.6562 kB / 404.8 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3068, allocations: 1.406 kB / 404.8 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.182e-05/0.3068, allocations: 2.844 kB / 404.8 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3068, allocations: 4.031 kB / 404.8 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.307, allocations: 9.984 kB / 404.9 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-05/0.3071, allocations: 60.83 kB / 404.9 MB, free: 3.441 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.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.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.00036/0.3074, allocations: 360.6 kB / 405.3 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.138e-05/0.3075, allocations: 39.64 kB / 405.3 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.3076, allocations: 64.77 kB / 405.4 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3076, allocations: 2.172 kB / 405.4 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.3076, allocations: 4 kB / 405.4 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3076, allocations: 6.188 kB / 405.4 MB, free: 3.074 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.3086, allocations: 0.7949 MB / 406.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3086, allocations: 0 / 406.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-06/0.3086, allocations: 0.6562 kB / 406.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3086, allocations: 1.312 kB / 406.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.3087, allocations: 17.12 kB / 406.2 MB, free: 2.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3087, allocations: 0.7969 kB / 406.2 MB, free: 2.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3087, allocations: 4.875 kB / 406.2 MB, free: 2.516 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000614/0.3093, allocations: 0.5482 MB / 406.7 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004001/0.3097, allocations: 207.3 kB / 406.9 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.333e-05/0.3098, allocations: 11.41 kB / 407 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.3099, allocations: 9.344 kB / 407 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.31, allocations: 31.05 kB / 407 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.496e-05/0.3101, allocations: 57.23 kB / 407.1 MB, free: 2.016 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005271/0.3106, allocations: 386.8 kB / 407.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3106, allocations: 1.375 kB / 407.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003181/0.311, allocations: 43.83 kB / 407.5 MB, free: 1.809 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,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.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.0007716/0.3117, allocations: 1.087 MB / 408.6 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004256/0.3122, allocations: 376.4 kB / 408.9 MB, free: 0.625 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3122, allocations: 0 / 408.9 MB, free: 0.625 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.3124, allocations: 301.3 kB / 409.2 MB, free: 356 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006172/0.313, allocations: 123.5 kB / 409.3 MB, free: 316 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00405/0.3171, allocations: 2.758 MB / 412.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006213/0.3177, allocations: 0.7994 MB / 412.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.525e-05/0.3178, allocations: 8.594 kB / 412.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.517e-05/0.3178, allocations: 26.72 kB / 412.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of SimCode: time 9.51e-07/0.3178, allocations: 0 / 412.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04112/0.359, allocations: 6.235 MB / 419.2 MB, free: 10.47 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.84, allocations: 6.156 kB / 419.2 MB, free: 10.46 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.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: 14.272842423990369]