Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.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.001944/0.001944, allocations: 123.9 kB / 17.79 MB, free: 5.266 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.002441/0.002441, allocations: 189.2 kB / 20.73 MB, free: 2.336 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.464/1.464, allocations: 225.6 MB / 249.1 MB, free: 3.602 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.NXFER,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NXFER",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 43.92 kB / 365.6 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1075, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002887/0.1103, allocations: 1.511 MB / 419.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.1124, allocations: 0.8536 MB / 420.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.242e-05/0.1125, allocations: 4 kB / 420.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.1126, allocations: 11.86 kB / 420.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.695e-05/0.1127, allocations: 15.86 kB / 420.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.113, allocations: 55.88 kB / 420.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.1133, allocations: 123.8 kB / 420.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.604e-05/0.1134, allocations: 12.23 kB / 420.4 MB, free: 10 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006727/0.1141, allocations: 0.5771 MB / 420.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.1142, allocations: 75.69 kB / 421 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.401e-05/0.1143, allocations: 12 kB / 421 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.426e-05/0.1143, allocations: 8 kB / 421 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.1144, allocations: 75.67 kB / 421.1 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.1146, allocations: 111.2 kB / 421.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004369/0.115, allocations: 370.5 kB / 421.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.115, allocations: 3.938 kB / 421.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.115, allocations: 4 kB / 421.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.115, allocations: 4 kB / 421.6 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.001047/0.1161, allocations: 0.7305 MB / 422.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1161, allocations: 11.97 kB / 422.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.332e-05/0.1162, allocations: 42.75 kB / 422.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.062e-05/0.1163, allocations: 36.7 kB / 422.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.1167, allocations: 274.7 kB / 422.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.1167, allocations: 4.375 kB / 422.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.1167, allocations: 8.375 kB / 422.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.1171, allocations: 141.7 kB / 422.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1171, allocations: 0 / 422.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.1171, allocations: 8 kB / 422.8 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1171, allocations: 0 / 422.8 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.1173, allocations: 59.97 kB / 422.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008517/0.1181, allocations: 468.4 kB / 423.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.1183, allocations: 70.55 kB / 423.4 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.1185, allocations: 64.89 kB / 423.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.1185, allocations: 4 kB / 423.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004136/0.1189, allocations: 202.7 kB / 423.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.1189, allocations: 4 kB / 423.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008702/0.1198, allocations: 483.6 kB / 424.2 MB, free: 5.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.1199, allocations: 166.2 kB / 424.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007388/0.1206, allocations: 0.5168 MB / 424.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.1207, allocations: 33.8 kB / 424.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.329e-05/0.1207, allocations: 101.1 kB / 425 MB, free: 5.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.08e-05/0.1208, allocations: 31.8 kB / 425 MB, free: 5.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.1209, allocations: 81.56 kB / 425.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1211, allocations: 330.7 kB / 425.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.1212, allocations: 51.97 kB / 425.5 MB, free: 4.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.1214, allocations: 80.06 kB / 425.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/0.1217, allocations: 347.3 kB / 425.9 MB, free: 4.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1218, allocations: 0 / 425.9 MB, free: 4.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000616/0.1224, allocations: 388.3 kB / 426.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.1225, allocations: 122.8 kB / 426.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1225, allocations: 0 / 426.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1225, allocations: 4 kB / 426.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.719e-05/0.1225, allocations: 0 / 426.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.1225, allocations: 4.062 kB / 426.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.1227, allocations: 16.03 kB / 426.4 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.473e-05/0.1227, allocations: 59.98 kB / 426.5 MB, free: 3.473 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.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.0004218/0.1232, allocations: 362.7 kB / 426.8 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.446e-05/0.1232, allocations: 39.77 kB / 426.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.1233, allocations: 67.09 kB / 426.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1233, allocations: 0 / 426.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.1233, allocations: 4 kB / 426.9 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1233, allocations: 3.938 kB / 426.9 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.1245, allocations: 0.8291 MB / 427.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1245, allocations: 0 / 427.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.576e-06/0.1245, allocations: 4 kB / 427.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1245, allocations: 0 / 427.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.1245, allocations: 15.98 kB / 427.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.1245, allocations: 4 kB / 427.8 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1245, allocations: 3.938 kB / 427.8 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007125/0.1252, allocations: 0.5369 MB / 428.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003943/0.1256, allocations: 248.6 kB / 428.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.063e-05/0.1257, allocations: 12 kB / 428.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.1258, allocations: 15.92 kB / 428.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.1259, allocations: 27.92 kB / 428.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-05/0.126, allocations: 59.92 kB / 428.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005225/0.1265, allocations: 382.9 kB / 429 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1265, allocations: 4 kB / 429.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003047/0.1268, allocations: 40 kB / 429.1 MB, free: 0.6719 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,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.001187/0.128, allocations: 1.101 MB / 430.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005554/0.1286, allocations: 373.5 kB / 430.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1286, allocations: 0 / 430.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003221/0.1289, allocations: 309.5 kB / 430.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000654/0.1296, allocations: 126.6 kB / 431 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/0.1335, allocations: 2.744 MB / 433.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005655/0.1341, allocations: 0.8097 MB / 434.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.592e-05/0.1341, allocations: 8.656 kB / 434.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.457e-05/0.1342, allocations: 27.42 kB / 434.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1342, allocations: 0 / 434.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03335/0.1675, allocations: 6.051 MB / 440.6 MB, free: 4.867 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.873/8.041, allocations: 10.66 kB / 440.6 MB, free: 4.859 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NXFER.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 10.666698331013322]