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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001046, allocations: 98.58 kB / 16.95 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 183.7 kB / 17.84 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.951/1.951, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004532/0.0004532, allocations: 20 kB / 280.9 MB, free: 3.629 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1217, allocations: 47.57 MB / 328.4 MB, free: 3.992 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001967/0.1237, allocations: 1.192 MB / 329.6 MB, free: 2.789 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.1257, allocations: 0.8561 MB / 330.5 MB, free: 1.926 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.379e-05/0.1259, allocations: 3.938 kB / 330.5 MB, free: 1.922 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.126, allocations: 11.92 kB / 330.5 MB, free: 1.91 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.358e-05/0.1261, allocations: 7.922 kB / 330.5 MB, free: 1.902 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.1264, allocations: 31.91 kB / 330.5 MB, free: 1.871 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.1266, allocations: 107.7 kB / 330.6 MB, free: 1.766 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.1268, allocations: 20.22 kB / 330.7 MB, free: 1.742 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007475/0.1275, allocations: 495.1 kB / 331.2 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.1277, allocations: 75.83 kB / 331.2 MB, free: 1.184 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.1278, allocations: 0 / 331.2 MB, free: 1.184 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.106e-05/0.1278, allocations: 7.938 kB / 331.2 MB, free: 1.176 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.1279, allocations: 63.83 kB / 331.3 MB, free: 1.113 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.298e-05/0.128, allocations: 69.52 kB / 331.4 MB, free: 1.039 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.1284, allocations: 295.3 kB / 331.7 MB, free: 0.75 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1284, allocations: 0 / 331.7 MB, free: 0.75 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1284, allocations: 4 kB / 331.7 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.1284, allocations: 3.938 kB / 331.7 MB, free: 0.7422 MB / 270.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.000849/0.1293, allocations: 0.6568 MB / 332.3 MB, free: 12 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.1293, allocations: 12.03 kB / 332.3 MB, free: 0 / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001138/0.1294, allocations: 38.56 kB / 332.4 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.856e-05/0.1295, allocations: 35.62 kB / 332.4 MB, free: 15.92 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.1299, allocations: 261.3 kB / 332.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.1299, allocations: 4 kB / 332.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.13, allocations: 8 kB / 332.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.1303, allocations: 137.5 kB / 332.8 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1303, allocations: 0 / 332.8 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.1304, allocations: 8 kB / 332.8 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1304, allocations: 0 / 332.8 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.1305, allocations: 59.95 kB / 332.9 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007862/0.1313, allocations: 464.5 kB / 333.3 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.1316, allocations: 98.55 kB / 333.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.1317, allocations: 88.88 kB / 333.5 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.1317, allocations: 3.984 kB / 333.5 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00046/0.1322, allocations: 202.7 kB / 333.7 MB, free: 14.48 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 2.414e-06/0.1322, allocations: 0 / 333.7 MB, free: 14.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.000981/0.1332, allocations: 480 kB / 334.2 MB, free: 13.98 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.1333, allocations: 174.2 kB / 334.3 MB, free: 13.77 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007088/0.134, allocations: 0.5168 MB / 334.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.1341, allocations: 29.7 kB / 334.9 MB, free: 13.21 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1342, allocations: 97.05 kB / 335 MB, free: 13.11 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.1342, allocations: 31.64 kB / 335 MB, free: 13.08 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.608e-05/0.1343, allocations: 4 kB / 335 MB, free: 13.08 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002623/0.1345, allocations: 322.9 kB / 335.3 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.1347, allocations: 67.78 kB / 335.4 MB, free: 12.69 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.1349, allocations: 81.67 kB / 335.5 MB, free: 12.6 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.1351, allocations: 166.8 kB / 335.6 MB, free: 12.41 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1351, allocations: 0 / 335.6 MB, free: 12.41 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006248/0.1357, allocations: 384.3 kB / 336 MB, free: 12.01 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001251/0.1359, allocations: 125.4 kB / 336.1 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1359, allocations: 0 / 336.1 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.1359, allocations: 4 kB / 336.1 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.609e-05/0.1359, allocations: 0 / 336.1 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.1359, allocations: 4.031 kB / 336.2 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.1361, allocations: 19.95 kB / 336.2 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.128e-05/0.1362, allocations: 59.92 kB / 336.2 MB, free: 11.78 MB / 286.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,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004344/0.1367, allocations: 362.8 kB / 336.6 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.848e-05/0.1368, allocations: 35.53 kB / 336.6 MB, free: 11.35 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.1369, allocations: 67.16 kB / 336.7 MB, free: 11.28 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1369, allocations: 0 / 336.7 MB, free: 11.28 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.1369, allocations: 0 / 336.7 MB, free: 11.28 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1369, allocations: 4 kB / 336.7 MB, free: 11.28 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.1382, allocations: 0.8173 MB / 337.5 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1382, allocations: 0 / 337.5 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.161e-06/0.1382, allocations: 4 kB / 337.5 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.1382, allocations: 0 / 337.5 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/0.1383, allocations: 15.98 kB / 337.5 MB, free: 10.36 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1383, allocations: 4 kB / 337.5 MB, free: 10.36 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1383, allocations: 0 / 337.5 MB, free: 10.36 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007869/0.1391, allocations: 0.5414 MB / 338.1 MB, free: 9.773 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003849/0.1395, allocations: 240.5 kB / 338.3 MB, free: 9.52 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.55e-05/0.1396, allocations: 19.94 kB / 338.3 MB, free: 9.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.1397, allocations: 15.92 kB / 338.3 MB, free: 9.484 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.1399, allocations: 23.97 kB / 338.4 MB, free: 9.461 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.511e-05/0.1399, allocations: 59.94 kB / 338.4 MB, free: 9.402 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0005487/0.1405, allocations: 394.8 kB / 338.8 MB, free: 9.02 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1405, allocations: 0 / 338.8 MB, free: 9.02 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003161/0.1408, allocations: 44 kB / 338.8 MB, free: 8.977 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001211/0.1421, allocations: 1.088 MB / 339.9 MB, free: 7.836 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005235/0.1426, allocations: 437.5 kB / 340.4 MB, free: 7.359 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1426, allocations: 3.938 kB / 340.4 MB, free: 7.355 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003592/0.143, allocations: 385.6 kB / 340.7 MB, free: 6.93 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005461/0.1435, allocations: 97.44 kB / 340.8 MB, free: 6.832 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002806/0.1464, allocations: 1.561 MB / 342.4 MB, free: 5.223 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005489/0.1469, allocations: 0.7944 MB / 343.2 MB, free: 4.402 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.256e-05/0.147, allocations: 16.64 kB / 343.2 MB, free: 4.387 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.05e-05/0.1471, allocations: 31.42 kB / 343.2 MB, free: 4.355 MB / 286.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1471, allocations: 0 / 343.2 MB, free: 4.355 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01672/0.1638, allocations: 5.286 MB / 348.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/0.164, allocations: 188.1 kB / 348.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.105/2.269, allocations: 0 / 348.7 MB, free: 14.73 MB / 302.1 MB (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/linux/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 --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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat does not exist to compare? outputFormat=mat