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.005203/0.005203, allocations: 98.45 kB / 21.96 MB, free: 5.211 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.001403/0.001403, allocations: 218.3 kB / 25.26 MB, free: 3.141 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.305/1.305, allocations: 207.7 MB / 236.1 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="cs",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.001667/0.001667, allocations: 52.34 kB / 348 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2348, allocations: 49.16 MB / 397.1 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002164/0.237, allocations: 1.452 MB / 398.6 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.2385, allocations: 0.853 MB / 399.4 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.126e-05/0.2385, allocations: 1.281 kB / 399.4 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.394e-05/0.2386, allocations: 12.84 kB / 399.4 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.822e-05/0.2387, allocations: 19.14 kB / 399.5 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.2389, allocations: 52.31 kB / 399.5 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.2391, allocations: 129.3 kB / 399.6 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.403e-05/0.2392, allocations: 16.89 kB / 399.7 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005718/0.2397, allocations: 0.58 MB / 400.2 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.2398, allocations: 78.28 kB / 400.3 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.123e-05/0.2399, allocations: 13.06 kB / 400.3 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.518e-05/0.2399, allocations: 10 kB / 400.3 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.884e-05/0.24, allocations: 65.95 kB / 400.4 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.217e-05/0.2401, allocations: 79.36 kB / 400.5 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003752/0.2405, allocations: 378 kB / 400.9 MB, free: 6.941 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2405, allocations: 3.938 kB / 400.9 MB, free: 6.938 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2405, allocations: 0 / 400.9 MB, free: 6.938 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.2405, allocations: 1.719 kB / 400.9 MB, free: 6.938 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.0005423/0.241, allocations: 0.659 MB / 401.5 MB, free: 6.355 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.2411, allocations: 14.39 kB / 401.5 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.678e-05/0.2411, allocations: 5.875 kB / 401.5 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.91e-05/0.2411, allocations: 35.88 kB / 401.6 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.552e-05/0.2412, allocations: 39.92 kB / 401.6 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.2414, allocations: 221.8 kB / 401.8 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.2414, allocations: 9.25 kB / 401.8 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.2414, allocations: 10.84 kB / 401.8 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.2417, allocations: 247 kB / 402.1 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.2417, allocations: 1 kB / 402.1 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.2417, allocations: 3.25 kB / 402.1 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2417, allocations: 1.984 kB / 402.1 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.2419, allocations: 176.3 kB / 402.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005437/0.2424, allocations: 430.7 kB / 402.7 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.2426, allocations: 190 kB / 402.9 MB, free: 5.238 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.2428, allocations: 181.2 kB / 403 MB, free: 5.082 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.2428, allocations: 1.344 kB / 403 MB, free: 5.082 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003075/0.2431, allocations: 328.8 kB / 403.4 MB, free: 4.809 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.2431, allocations: 0 / 403.4 MB, free: 4.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007557/0.2438, allocations: 0.7029 MB / 404.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.2439, allocations: 167.1 kB / 404.2 MB, free: 4.094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005297/0.2444, allocations: 0.5167 MB / 404.8 MB, free: 3.805 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.2444, allocations: 29.95 kB / 404.8 MB, free: 3.773 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.2445, allocations: 111 kB / 404.9 MB, free: 3.672 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.2445, allocations: 22.2 kB / 404.9 MB, free: 3.656 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.927e-05/0.2446, allocations: 85.45 kB / 405 MB, free: 3.609 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.985e-05/0.2446, allocations: 325.1 kB / 405.3 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.2448, allocations: 176.7 kB / 405.5 MB, free: 3.141 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.2449, allocations: 197 kB / 405.7 MB, free: 2.969 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.2452, allocations: 353.5 kB / 406 MB, free: 2.648 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2452, allocations: 0 / 406 MB, free: 2.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000502/0.2457, allocations: 0.5047 MB / 406.5 MB, free: 2.285 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.155e-05/0.2457, allocations: 131.3 kB / 406.7 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.2457, allocations: 1.25 kB / 406.7 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.2458, allocations: 1.344 kB / 406.7 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.741e-05/0.2458, allocations: 4.781 kB / 406.7 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2458, allocations: 5.25 kB / 406.7 MB, free: 2.141 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.2459, allocations: 10.83 kB / 406.7 MB, free: 2.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.616e-05/0.246, allocations: 61.52 kB / 406.7 MB, free: 2.133 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.0002807/0.2462, allocations: 360.6 kB / 407.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/0.2463, allocations: 43.77 kB / 407.1 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.829e-05/0.2464, allocations: 65.72 kB / 407.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2464, allocations: 0 / 407.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2464, allocations: 1.969 kB / 407.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2464, allocations: 0.5625 kB / 407.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008141/0.2472, allocations: 0.8902 MB / 408.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2472, allocations: 6.062 kB / 408.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-06/0.2472, allocations: 192 / 408.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2472, allocations: 1.375 kB / 408.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.2472, allocations: 24.14 kB / 408.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2472, allocations: 5.312 kB / 408.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2472, allocations: 4 kB / 408.1 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005565/0.2478, allocations: 0.6586 MB / 408.8 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003222/0.2481, allocations: 203 kB / 409 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.564e-05/0.2482, allocations: 7.344 kB / 409 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.2483, allocations: 18.67 kB / 409 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.483e-05/0.2484, allocations: 26 kB / 409 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.236e-05/0.2485, allocations: 62.52 kB / 409.1 MB, free: 452 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003988/0.2489, allocations: 383.8 kB / 409.5 MB, free: 248 kB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2489, allocations: 0 / 409.5 MB, free: 248 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.2491, allocations: 44.64 kB / 409.5 MB, free: 244 kB / 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.00106/0.2502, allocations: 1.212 MB / 410.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006407/0.2508, allocations: 0.6144 MB / 411.3 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2508, allocations: 0 / 411.3 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003652/0.2512, allocations: 422.8 kB / 411.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00061/0.2518, allocations: 122.6 kB / 411.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003799/0.2556, allocations: 3.361 MB / 415.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.2559, allocations: 199.8 kB / 415.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.165e-05/0.256, allocations: 9.531 kB / 415.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.297e-05/0.256, allocations: 25.39 kB / 415.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.256, allocations: 1.062 kB / 415.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.2831, allocations: 6.611 MB / 422.1 MB, free: 7.973 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.02, allocations: 11.31 kB / 422.1 MB, free: 7.965 MB / 334.1 MB " [Timeout remaining time 649] (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] [Calling os._exit(0), Time elapsed: 13.216353996074758] Failed to read output from testmodel.py, exit status != 0: ['time', 'nRXFERGATE.y'] 11.177094161976129 11.203528463 10.958324386 Calling exit ...