Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.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.001833/0.001833, allocations: 71.28 kB / 21.24 MB, free: 0.5469 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.002207/0.002207, allocations: 158.6 kB / 24.5 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 177.2 MB / 204.9 MB, free: 9.031 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 55.08 kB / 325.6 MB, free: 440 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09561/0.09717, allocations: 53.33 MB / 378.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.00275/0.09992, allocations: 1.485 MB / 380.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.1019, allocations: 0.8343 MB / 381.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.307e-05/0.1019, allocations: 0 / 381.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.817e-05/0.102, allocations: 11.86 kB / 381.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.223e-05/0.1021, allocations: 19.86 kB / 381.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.1023, allocations: 55.81 kB / 381.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.1025, allocations: 131.7 kB / 381.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.88e-05/0.1026, allocations: 16.22 kB / 381.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006628/0.1033, allocations: 0.5732 MB / 382 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.1034, allocations: 79.67 kB / 382.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.304e-05/0.1035, allocations: 12 kB / 382.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.763e-05/0.1035, allocations: 12 kB / 382.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.096e-05/0.1036, allocations: 63.7 kB / 382.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.1037, allocations: 79.36 kB / 382.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003995/0.1041, allocations: 386.3 kB / 382.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1041, allocations: 0 / 382.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1041, allocations: 0 / 382.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.1041, allocations: 0 / 382.6 MB, free: 12.04 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.0007654/0.1049, allocations: 0.6514 MB / 383.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.1049, allocations: 8.031 kB / 383.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.017e-05/0.105, allocations: 40.7 kB / 383.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.1053, allocations: 228.7 kB / 383.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.1053, allocations: 8.375 kB / 383.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.1054, allocations: 8.375 kB / 383.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000412/0.1058, allocations: 251.6 kB / 383.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1058, allocations: 4 kB / 383.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.1058, allocations: 4 kB / 383.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1058, allocations: 0 / 383.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.1061, allocations: 178.8 kB / 384 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000712/0.1068, allocations: 392.3 kB / 384.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.107, allocations: 197.3 kB / 384.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.1073, allocations: 187.7 kB / 384.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.1073, allocations: 0 / 384.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005024/0.1078, allocations: 333.4 kB / 385.1 MB, free: 9.312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.1078, allocations: 4 kB / 385.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001029/0.1088, allocations: 0.6931 MB / 385.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.1089, allocations: 174.2 kB / 386 MB, free: 8.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007137/0.1096, allocations: 0.5091 MB / 386.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.1097, allocations: 29.7 kB / 386.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.204e-05/0.1098, allocations: 109 kB / 386.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.1098, allocations: 27.86 kB / 386.6 MB, free: 7.637 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.1099, allocations: 81.55 kB / 386.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1101, allocations: 326.8 kB / 387 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.1103, allocations: 178.8 kB / 387.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.1105, allocations: 192.5 kB / 387.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.1109, allocations: 359.1 kB / 387.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1109, allocations: 0 / 387.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006775/0.1116, allocations: 0.5069 MB / 388.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.1117, allocations: 130.8 kB / 388.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1117, allocations: 4.141 kB / 388.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.1117, allocations: 3.938 kB / 388.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.541e-05/0.1117, allocations: 7.938 kB / 388.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1118, allocations: 0 / 388.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.1119, allocations: 11.94 kB / 388.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-05/0.112, allocations: 59.92 kB / 388.5 MB, free: 5.602 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.0003781/0.1123, allocations: 370.5 kB / 388.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.479e-05/0.1124, allocations: 39.77 kB / 388.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.1125, allocations: 63.08 kB / 388.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1125, allocations: 4 kB / 388.9 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1125, allocations: 0 / 388.9 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.1125, allocations: 0 / 388.9 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.1137, allocations: 0.8668 MB / 389.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.1137, allocations: 4 kB / 389.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-06/0.1137, allocations: 0 / 389.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1137, allocations: 0 / 389.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/0.1137, allocations: 16 kB / 389.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.263e-06/0.1137, allocations: 3.984 kB / 389.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1137, allocations: 0 / 389.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008103/0.1145, allocations: 0.6647 MB / 390.5 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004023/0.1149, allocations: 209.4 kB / 390.7 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.587e-05/0.115, allocations: 12 kB / 390.7 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.1151, allocations: 8 kB / 390.7 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.1153, allocations: 23.97 kB / 390.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.138e-05/0.1154, allocations: 67.97 kB / 390.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005068/0.1159, allocations: 382.9 kB / 391.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1159, allocations: 0 / 391.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.1162, allocations: 51.88 kB / 391.2 MB, free: 2.648 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.0001321/0.1163, allocations: 111 kB / 391.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006892/0.117, allocations: 0.6124 MB / 391.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.117, allocations: 0 / 391.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004115/0.1174, allocations: 432.3 kB / 392.4 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000623/0.118, allocations: 121.2 kB / 392.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.1193, allocations: 0.7809 MB / 393.3 MB, free: 400 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.1196, allocations: 189.7 kB / 393.4 MB, free: 188 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.18e-05/0.1197, allocations: 16.75 kB / 393.5 MB, free: 172 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.395e-05/0.1197, allocations: 16.5 kB / 393.5 MB, free: 156 kB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1197, allocations: 0 / 393.5 MB, free: 156 kB / 350.1 MB Notification: Performance of Templates: time 0.009116/0.1288, allocations: 5.031 MB / 398.5 MB, free: 11.1 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.3456892491085455]