Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 112.6 kB / 18.49 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 193 kB / 21.43 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 51.91 kB / 366.3 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1046, allocations: 52.14 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002981/0.1076, allocations: 1.515 MB / 420 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.1097, allocations: 0.8536 MB / 420.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.745e-05/0.1097, allocations: 0 / 420.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.507e-05/0.1098, allocations: 15.86 kB / 420.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.918e-05/0.1099, allocations: 15.86 kB / 420.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.1102, allocations: 43.89 kB / 420.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.1104, allocations: 135.7 kB / 421.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1105, allocations: 20.16 kB / 421.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006681/0.1112, allocations: 0.5732 MB / 421.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.1113, allocations: 75.69 kB / 421.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.98e-05/0.1114, allocations: 8 kB / 421.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.182e-05/0.1114, allocations: 15.94 kB / 421.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.297e-05/0.1115, allocations: 59.77 kB / 421.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.1116, allocations: 119.1 kB / 421.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004151/0.112, allocations: 370.5 kB / 422.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1121, allocations: 0 / 422.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1121, allocations: 3.938 kB / 422.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1121, allocations: 4 kB / 422.3 MB, free: 8.773 MB / 350.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.0008795/0.1129, allocations: 0.7344 MB / 423 MB, free: 7.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.113, allocations: 8.031 kB / 423 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.252e-05/0.113, allocations: 4.172 kB / 423 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.903e-05/0.1131, allocations: 46.73 kB / 423.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.92e-05/0.1131, allocations: 36.7 kB / 423.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.1135, allocations: 270.7 kB / 423.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.1135, allocations: 12.34 kB / 423.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.1135, allocations: 12.38 kB / 423.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.1138, allocations: 133.5 kB / 423.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.1139, allocations: 0 / 423.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.1139, allocations: 4 kB / 423.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1139, allocations: 0 / 423.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.114, allocations: 59.97 kB / 423.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006893/0.1147, allocations: 472.4 kB / 424.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.1149, allocations: 74.55 kB / 424.1 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.1151, allocations: 60.89 kB / 424.2 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.1151, allocations: 4 kB / 424.2 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003789/0.1155, allocations: 206.6 kB / 424.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.1155, allocations: 0 / 424.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008718/0.1163, allocations: 484.2 kB / 424.9 MB, free: 5.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.1164, allocations: 170.3 kB / 425 MB, free: 5.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006557/0.1171, allocations: 0.5207 MB / 425.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.1171, allocations: 29.7 kB / 425.6 MB, free: 5.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.846e-05/0.1172, allocations: 101.1 kB / 425.7 MB, free: 5.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.833e-05/0.1173, allocations: 27.75 kB / 425.7 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.1174, allocations: 85.55 kB / 425.8 MB, free: 4.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1176, allocations: 326.8 kB / 426.1 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.1177, allocations: 59.97 kB / 426.2 MB, free: 4.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.1179, allocations: 69.69 kB / 426.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000405/0.1183, allocations: 346.7 kB / 426.6 MB, free: 4.102 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1183, allocations: 0 / 426.6 MB, free: 4.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005831/0.1188, allocations: 392.2 kB / 427 MB, free: 3.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.398e-05/0.1189, allocations: 122.8 kB / 427.1 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1189, allocations: 4 kB / 427.1 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.119, allocations: 0 / 427.1 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.167e-05/0.119, allocations: 0 / 427.1 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.119, allocations: 4.031 kB / 427.1 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.1191, allocations: 11.98 kB / 427.1 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.67e-05/0.1192, allocations: 59.94 kB / 427.2 MB, free: 3.465 MB / 350.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.0003667/0.1196, allocations: 359.4 kB / 427.5 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.1196, allocations: 43.7 kB / 427.6 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.1197, allocations: 71.12 kB / 427.6 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1197, allocations: 0 / 427.6 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.1198, allocations: 4 kB / 427.6 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1198, allocations: 0 / 427.6 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.1208, allocations: 0.8212 MB / 428.5 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1208, allocations: 0 / 428.5 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-06/0.1208, allocations: 4 kB / 428.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1208, allocations: 4.172 kB / 428.5 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.1209, allocations: 23.98 kB / 428.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1209, allocations: 7.875 kB / 428.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1209, allocations: 0 / 428.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007003/0.1216, allocations: 0.5293 MB / 429 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003302/0.1219, allocations: 256.5 kB / 429.3 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.427e-05/0.122, allocations: 12 kB / 429.3 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.1221, allocations: 11.94 kB / 429.3 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.1222, allocations: 27.97 kB / 429.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.518e-05/0.1222, allocations: 59.92 kB / 429.4 MB, free: 1.074 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004775/0.1227, allocations: 386.9 kB / 429.8 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1227, allocations: 0 / 429.8 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002879/0.123, allocations: 44 kB / 429.8 MB, free: 0.6562 MB / 350.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.001145/0.1242, allocations: 1.1 MB / 430.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005351/0.1247, allocations: 373.5 kB / 431.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1247, allocations: 0 / 431.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000324/0.125, allocations: 305.5 kB / 431.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006043/0.1256, allocations: 121.8 kB / 431.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/0.1292, allocations: 2.761 MB / 434.4 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.1297, allocations: 0.8058 MB / 435.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.529e-05/0.1297, allocations: 12.64 kB / 435.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.622e-05/0.1298, allocations: 23.44 kB / 435.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1298, allocations: 0 / 435.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.1528, allocations: 6.087 MB / 441.4 MB, free: 4.832 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.921/8.074, allocations: 10.73 kB / 441.4 MB, free: 4.824 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.525328374991659] Failed to read output from testmodel.py, exit status != 0: ['time', 'nRXFERGATE.y'] 8.196047114033718 8.35823399 8.244088422999999 Calling exit ...