Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001462/0.001462, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001604/0.001604, allocations: 204.5 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 230.5 MB / 257.4 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_NXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_NXFER",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 63.91 kB / 377.7 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.265, allocations: 53.41 MB / 431.1 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002831/0.2679, allocations: 1.476 MB / 432.6 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.2699, allocations: 0.842 MB / 433.5 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.615e-05/0.2699, allocations: 0 / 433.5 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.847e-05/0.27, allocations: 11.86 kB / 433.5 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.249e-05/0.2701, allocations: 19.86 kB / 433.5 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.2704, allocations: 51.88 kB / 433.5 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.2706, allocations: 131.8 kB / 433.7 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.2707, allocations: 16.2 kB / 433.7 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00067/0.2714, allocations: 0.5809 MB / 434.3 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.2715, allocations: 67.75 kB / 434.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.578e-05/0.2716, allocations: 8 kB / 434.3 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.95e-05/0.2716, allocations: 12 kB / 434.3 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.949e-05/0.2717, allocations: 63.7 kB / 434.4 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.2718, allocations: 83.34 kB / 434.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004216/0.2723, allocations: 380.1 kB / 434.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.2723, allocations: 0 / 434.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.2723, allocations: 0 / 434.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.393e-06/0.2723, allocations: 4 kB / 434.9 MB, free: 2.711 MB / 334.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.0008703/0.2731, allocations: 0.6591 MB / 435.5 MB, free: 1.996 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.2732, allocations: 15.98 kB / 435.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.049e-05/0.2732, allocations: 42.73 kB / 435.6 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.581e-05/0.2733, allocations: 36.7 kB / 435.6 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.2736, allocations: 212.8 kB / 435.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.2737, allocations: 16.38 kB / 435.8 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.2737, allocations: 8.312 kB / 435.9 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004385/0.2741, allocations: 251.5 kB / 436.1 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.2742, allocations: 0 / 436.1 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.2742, allocations: 4 kB / 436.1 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.2742, allocations: 11.98 kB / 436.1 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000245/0.2744, allocations: 174.8 kB / 436.3 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000782/0.2752, allocations: 419.5 kB / 436.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.2755, allocations: 193.3 kB / 436.9 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.2757, allocations: 175.7 kB / 437.1 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.2757, allocations: 3.984 kB / 437.1 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005249/0.2762, allocations: 332.7 kB / 437.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.2762, allocations: 0 / 437.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001036/0.2773, allocations: 0.7087 MB / 438.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.2774, allocations: 166.2 kB / 438.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000702/0.2781, allocations: 0.5169 MB / 438.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.2781, allocations: 29.7 kB / 438.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.811e-05/0.2782, allocations: 105.1 kB / 438.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.848e-05/0.2783, allocations: 31.78 kB / 438.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.2784, allocations: 81.55 kB / 439 MB, free: 14.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.2786, allocations: 326.8 kB / 439.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.2788, allocations: 178.8 kB / 439.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.279, allocations: 192.5 kB / 439.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003886/0.2794, allocations: 355.3 kB / 440 MB, free: 12.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2794, allocations: 0 / 440 MB, free: 12.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006703/0.2801, allocations: 0.5064 MB / 440.5 MB, free: 12.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.2802, allocations: 126.8 kB / 440.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2802, allocations: 0 / 440.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/0.2802, allocations: 3.984 kB / 440.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.991e-05/0.2802, allocations: 0 / 440.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.2802, allocations: 4 kB / 440.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.2804, allocations: 8 kB / 440.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.798e-05/0.2805, allocations: 59.92 kB / 440.7 MB, free: 12.2 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.0004127/0.2809, allocations: 366.5 kB / 441.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.406e-05/0.2809, allocations: 39.77 kB / 441.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.2811, allocations: 63.09 kB / 441.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2811, allocations: 0 / 441.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2811, allocations: 7.938 kB / 441.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2811, allocations: 128 / 441.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.2823, allocations: 0.8895 MB / 442.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2823, allocations: 0 / 442.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.676e-06/0.2823, allocations: 4 kB / 442.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.2823, allocations: 3.938 kB / 442.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.117e-05/0.2824, allocations: 15.98 kB / 442.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.2824, allocations: 4 kB / 442.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.2824, allocations: 3.938 kB / 442.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008198/0.2832, allocations: 0.6609 MB / 442.8 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000439/0.2836, allocations: 209.3 kB / 443 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.922e-05/0.2837, allocations: 12 kB / 443 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.2838, allocations: 11.98 kB / 443 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.284, allocations: 27.92 kB / 443 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.808e-05/0.284, allocations: 55.98 kB / 443.1 MB, free: 9.641 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005442/0.2846, allocations: 386.9 kB / 443.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2846, allocations: 4 kB / 443.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002984/0.2849, allocations: 40 kB / 443.5 MB, free: 9.223 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.001192/0.2861, allocations: 1.213 MB / 444.7 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007247/0.2868, allocations: 0.6085 MB / 445.3 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2868, allocations: 0 / 445.3 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004055/0.2872, allocations: 424.3 kB / 445.8 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006304/0.2878, allocations: 123 kB / 445.9 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004267/0.2921, allocations: 3.348 MB / 449.2 MB, free: 3.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.2924, allocations: 197.7 kB / 449.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.069e-05/0.2925, allocations: 8.656 kB / 449.4 MB, free: 2.824 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.726e-05/0.2926, allocations: 23.44 kB / 449.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of SimCode: time 1.553e-06/0.2926, allocations: 0 / 449.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03602/0.3286, allocations: 6.99 MB / 456.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.36, allocations: 0 / 456.4 MB, free: 11.84 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_NXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_NXFER.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 13.890204808674753]